Okta Identity Governance
/- Management APIs
- Access Requests - V1
/
List all request types
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.
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"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 descOrder by lastUpdated
orderBy=lastUpdated desc- https://subdomain.okta.comhttps://subdomain.okta.com/governance/api/v1/request-types
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'A successful request type list response
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": { … } } }