Identity Broker REST API Reference

UnboundID Logo

/consents/self/resources/{resourceId}

This resource is available only to principals with these entitlements: "ROLE_READ_OWN_CONSENT" "ROLE_BROKER_ADMIN"

Mount Point: /privacy/v1/consents/self/resources/{resourceId}/

GET

This operation is available only to principals with these entitlements: "ROLE_READ_OWN_CONSENT" "ROLE_BROKER_ADMIN"

Gets consents associated with the OAuth2 token bearer and resource.

Parameters

name description type default
resourceId The resource id to get consents for. path
startIndex The index number of the first item to be provided in the results. A null value is equivalent to 0. query
count The maximum number of items to be provided in the results. A null value signifies no maximum. query
includeGroups true to return consents where resourceId may be a member of a resource group in the consented resources list. Otherwise false means the resourceId must be explicitly listed in the consented resources list. The default is true. query true

Response Body

element: (custom)
media types: application/json

Paged list of consents associated with the given owner and resource.

Status Codes

code description
200 Success
404 No such object