Skip to content

List all entitlements

Request

OAuth 2.0 scope:
  • okta.governance.entitlements.read
Admin roles:
  • APP_ADMIN

Lists all entitlements specific to a resource

Query
limitinteger, [ 1 .. 200 ]

The maximum number of records returned in a response

Default:20
afterstring

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
filterstring, (scim-filter)(scim-filter)required

A filter expression that returns entries based on the following properties and supported operators:

  • parent.externalId: supports eq
  • parent.type: supports eq
  • parentResourceOrn: supports eq
  • name: supports sw and co
  • created: supports eq, gt, ge, lt, and le operators with ISO-8601 datetime format

Note: Query parameter percent encoding is required. See Special characters.

Examples:
Filter by resource
filter=parent.externalId eq "0oafxqCAJWWGELFTYASJ" AND parent.type eq "APPLICATION"
Filter by resource ORN representing a single resource
filter=parentResourceOrn eq "orn:okta:idp:00o11edPwGqbUrsDm0g4:apps:oidc:0oafxqCAJWWGELFTYASJ"
Filter by the entitlement name, starting with the provided prefix
filter=parent.externalId eq "0oafxqCAJWWGELFTYASJ" AND parent.type eq "APPLICATION" AND name sw "License"
Filter by the entitlement name that contains the provided substring
filter=parent.externalId eq "0oafxqCAJWWGELFTYASJ" AND parent.type eq "APPLICATION" AND name co "License"
Filter by resource and entitlement IDs
filter=parent.externalId eq "0oafxqCAJWWGELFTYASJ" AND parent.type eq "APPLICATION" AND (id eq "espfxqCAJWWGELFTYASJ" OR id eq "espfxqCAJWWGELFTYASI")
Filter by a resource and an external value
filter=parent.externalId eq "0oafxqCAJWWGELFTYASJ" AND parent.type eq "APPLICATION" AND externalValue eq "License"
Filter by entitlements created after a specific date
filter=parent.externalId eq "0oafxqCAJWWGELFTYASJ" AND parent.type eq "APPLICATION" AND created gt "2026-01-01T00:00:00.000Z"
orderByArray of strings, = 1 items

A field by which results can be sorted. For now, sorting by a single field is supported.

Note: Query parameter percent encoding is required. See Percent-encoding

Default:["name asc"]
Examples:
Order by name
orderBy=name asc
Order by created
orderBy=created desc
curl -i -X GET \
  'https://subdomain.okta.com/governance/api/v1/entitlements?limit=20&after=00u68w6vzKLultXS97g6&filter=parent.externalId%20eq%20%220oafxqCAJWWGELFTYASJ%22%20AND%20parent.type%20eq%20%22APPLICATION%22&orderBy=name%20asc'

Responses

A successful entitlements list response

Headers
X-Rate-Limit-Limitinteger, >= 1required

The rate-limit ceiling for the current request

Example:60
X-Rate-Limit-Remaininginteger, >= 0required

The number of requests left for the current rate-limit window

Example:60
X-Rate-Limit-Resetinteger, >= 0required

The time when the rate limit resets, specified in UTC epoch time (in seconds)

Example:1609459200
Bodyapplication/json
dataArray of objects(entitlements-list-object)required

List of all entitlements matching the filter

metadataobject(list-metadata)required

Metadata for the list response

Response

A list of entitlements

{ "data": [ { … }, { … } ], "_links": { "self": { … } }, "metadata": { "total": 2 } }