public boolean delete(final String principal) {
        val keys = List.of(
            DynamoDbQueryBuilder.builder()
                .key(ColumnNames.PRINCIPAL.getColumnName())
                .attributeValue(List.of(AttributeValue.builder().s(principal).build()))
                .operator(ComparisonOperator.EQ)
                .build());
        val results = getRecordsByKeys(keys);
        results.forEach(decision -> {
            val del = DeleteItemRequest.builder()
                .tableName(dynamoDbProperties.getTableName())
                .key(CollectionUtils.wrap(ColumnNames.ID.getColumnName(),
                    AttributeValue.builder().n(String.valueOf(decision.getId())).build()))
                .build();
            LOGGER.debug("Submitting delete request [{}] for decision id [{}] and principal [{}]",
                del, decision.getId(), principal);
            val res = amazonDynamoDBClient.deleteItem(del);
            LOGGER.debug("Delete request came back with result [{}]", res);
        });
        return true;
    }
Delete.

@param principal the principal
@return true/false
support/cas-server-support-consent-dynamodb/src/main/java/org/apereo/cas/consent/DynamoDbConsentFacilitator.java