Okta Admin Management API
/Users
//
List all grants for a cli...
CORS
OAuth 2.0 scope:
- okta.users.read
Lists all grants for a specified user and client
The cursor to use for pagination. It is an opaque string that specifies your current location in the list and is obtained from the Link response header. See Pagination.
- https://subdomain.okta.comhttps://subdomain.okta.com/api/v1/users/{userId}/clients/{clientId}/grants
curl -i -X GET \
'https://subdomain.okta.com/api/v1/users/00ub0oNGTSWTBKOLGLNR/clients/52Uy4BUWVBOjFItcg2jWsmnd83Ad8dD/grants?expand=string&after=string&limit=20'Success
Array []
Timestamp when the object was created
Example:"2017-03-28T01:11:10.000Z"
The issuer of your org authorization server. This is typically your Okta domain.
Example:"https://my_test_okta_org.oktapreview.com"
Timestamp when the object was last updated
The name of the Okta scope for which consent is granted
Example:"okta.users.read"
User type source that granted consent
Enum:"ADMIN""END_USER"
Example:"ADMIN"
User ID that granted consent (if source is END_USER)
Example:"00u5t60iloOHN9pBi0h7"
Specifies link relations (see Web Linking) available using the JSON Hypertext Application Language specification. This object is used for dynamic discovery of related resources and lifecycle operations.
Response
[ { "clientId": "oag3ih1zrm1cBFOiq0h6", "created": "2017-03-28T01:11:10.000Z", "createdBy": { … }, "id": "oag3ih1zrm1cBFOiq0h6", "issuer": "https://my_test_okta_org.oktapreview.com", "lastUpdated": "2019-08-24T14:15:22Z", "scopeId": "okta.users.read", "source": "ADMIN", "status": "ACTIVE", "userId": "00u5t60iloOHN9pBi0h7", "_embedded": { … }, "_links": { … } } ]