- List my eligible delegates
- okta.governance.principalSettings.read
Lists the users who are eligible delegates for the current authenticated user.
The filter query parameter is optional when the org's delegate scope is restricted (the onlyFor list contains MANAGER or both MANAGER and PEERS). When omitted in this case, the endpoint returns all eligible delegates.
However, if the org's delegate scope is unrestricted (the onlyFor list is empty), the filter parameter is required. Omitting the filter with an unrestricted scope returns a 400 error.
Request examples:
- List all eligible delegates (only works with restricted delegate scope)
/governance/api/v1/my/settings/delegates/users - Filter users with a last name that starts with "Smi"
/governance/api/v1/my/settings/delegates/users?filter=lastName%20sw%20%22Smi%22 - Filter for users with a first name that begins with "John"
/governance/api/v1/my/settings/delegates/users?filter=firstName%20sw%20%22John%22 - Search for users with a first or last name that begins with "John"
/governance/api/v1/my/settings/delegates/users?filter=firstName%20sw%20%22John%22%20OR%20lastName%20sw%20%22John%22
An optional filter expression that returns users based on the firstName or lastName properties. This filter expression supports the sw operator.
When omitted, the endpoint returns all eligible delegates for the current user. However, if the org's delegate scope settings are unrestricted (the onlyFor list is empty), the filter parameter is required and omitting it returns a 400 error.
Note: Query parameter percent encoding is required. See Special characters.
Specifies the pagination cursor for the next page of results. Treat this as an opaque value obtained through the standard link headers. See pagination.
curl -i -X GET \
'https://okta-subdomain.pixtulate.com/governance/api/v1/my/settings/delegate/users?filter=firstName%20sw%20%22John%22%20OR%20lastName%20sw%20%22John%22&after=00u68w6vzKLultXS97g6&limit=20'Lists my eligible delegate users
A link to self, which is the URL for the current request. This is used for pagination and is included in the response when the request returns a list of items. The value of this header is a URL that points to the current request, and it includes any query parameters that were used in the request. Set the rel parameter to self to indicate that this is a link to the current request.
The number of requests left for the current rate-limit window
{ "data": [ { … }, { … }, { … }, { … }, { … }, { … } ], "_links": { "self": { … } } }