Skip to content

List all request types

Request

Beta
OAuth 2.0 scope:
  • okta.governance.accessRequests.read

Lists all or a subset of request types in your organization.

Use the ?filter= parameter to narrow results with the following request type properties: status and lastUpdated.

Pagination parameters are accepted, and standard link headers are in the response.

Query
filterstring, (scim-filter)(scim-filter)

Apply various filters by using supported request types filtering properties.

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

Examples:
Filter by status
filter=status eq "ACTIVE"
Filter by lastUpdated
filter=lastUpdated gt "2022-05-24T14:15:22Z"
Filter by status and lastUpdated
filter=status eq "ACTIVE" AND lastUpdated gt "2022-05-24T14:15:22Z"
afterstring, (request-type-id), = 24 characters(request-type-id)^[a-fA-F\d]{24}$

The after cursor provided by a prior request.

limitinteger, [ 1 .. 200 ]

The maximum number of records returned in a response

Default:20
orderBystring, (order-by)(order-by)

Apply an ordering of request types by specifying a supported request type property name with %20asc or %20desc suffix.

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

Examples:
Order by created
orderBy=created desc
Order by lastUpdated
orderBy=lastUpdated desc
curl -i -X GET \
  'https://subdomain.okta.com/governance/api/v1/request-types?filter=status%20eq%20%22ACTIVE%22&after=stringstringstringstring&limit=20&orderBy=created%20desc'

Responses

A successful request type 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(request-type-sparse)

All Request Types on the current page

Example:
[ { "name": "salesforce-01", "description": "How users can request access to Salesforce 01", "id": "61eb2db568c7c300079fefd0", "lastUpdated": "2022-05-24T14:15:22Z", "lastUpdatedBy": "00ub0oNGTSWTBKOLGLNR", "created": "2022-05-24T14:15:22Z", "createdBy": "00ub0oNGTSWTBKOLGLNR", "status": "ACTIVE", "lastUpdateSource": "API", "_links": { … } } ]
Response

A list of request type with no filter

{ "data": [ { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … } ], "_links": { "self": { … } } }