Beta
OAuth 2.0 scope:
- okta.governance.delegates.read
Admin roles:
- SUPER_ADMIN
- ACCESS_CERTIFICATION_ADMIN
- ACCESS_REQUESTS_ADMIN
Lists all delegate appointments in your org.
You can filter delegate appointments for a specific user with the filter query parameter. You can also manage the number of records in the response with the limit and after query parameters.
Note: To list all delegate appointments, you must be assigned to either the SUPER_ADMIN role or both the ACCESS_CERTIFICATION_ADMIN and the ACCESS_REQUESTS_ADMIN roles.
The following are request examples with query parameters:
- Lists at most 20 delegate appointments
/governance/api/v1/delegates?limit=20 - Lists the next 10 results of delegate appointments after a specific cursor
/governance/api/v1/delegates?limit=10&after=gda123ABCXYZ456DEF - Lists at most 2 delegate appointments with
delegatorIdequals00ub0oNGTSWTBKOLAAAAor00u2lxfQaw8WRlkQt0g4/governance/api/v1/delegates?filter=(delegatorId%20eq%20%2200ub0oNGTSWTBKOLGLNR%22%20OR%20delegatorId%20eq%20%2200ub0oNGTSWTBKOLGLNS%22)&limit=2
Specifies the pagination cursor for the next page of results. Treat this as an opaque value obtained through the standard link headers. See pagination.
Example:after=00u68w6vzKLultXS97g6
GET
curl -i -X GET \
'https://okta-subdomain.pixtulate.com/governance/api/v1/delegates?filter=delegatorId%20eq%20%2200ub0oNGTSWTBKOLGLNR%22%20OR%20delegatorId%20eq%20%2200ub0oNGTSWTBKOLGLNS%22&limit=20&after=00u68w6vzKLultXS97g6'A successful response
Link relations available using the JSON Hypertext Application Language
Response
- Delegate appointments
- User has no delegates
{ "data": [ { … }, { … } ], "_links": { "self": { … } } }