Return persisted consents of a setup
GET/v2/modules/:module/setups/:setupId/consents
Returns a paginated list of persisted consents for all clients within the specified setup. Results can be filtered by client entity ID and/or user identity. The response supports pagination via the page and per_page query parameters, and the total count is included in the X-Total-Count response header.
Request
Path Parameters
module stringrequired
setupId stringrequired
Query Parameters
client-entity-id string
user string
page int32
size int32
Responses
- 200
- 204
- 403
A paginated list of persisted consents matching the given criteria
- application/json
- Schema
- Example (from schema)
Schema
scopes string[]
user stringrequired
issue_date date-timerequired
expiration date-timerequired
client_id stringrequired
entity_id stringrequired
{
"scopes": [
"string"
],
"user": "string",
"issue_date": "2024-07-29T15:51:28.071Z",
"expiration": "2024-07-29T15:51:28.071Z",
"client_id": "string",
"entity_id": "string"
}
No persisted consents match the specified filter criteria
The caller is not authorized to list persisted consents for the specified user or setup
Loading...