Skip to Content
Docs

Page client grants

POST
/$page/organizations/{organizationId}/client-grants

required scopes: contextual:client-grants:read

Authorization

jwt
headerAuthorizationBearer <JWT>

Path Parameters

Request Body

application/json
  1. body
pageToken?string
Length1 <= length
orderBy?string|array<string>
fields?string|array<string>
pageSize?integer
Range0 <= value <= 9007199254740991
includeTotal?boolean
filterMode?string|string

Response Body

application/json
  1. response
items*array<>
nextPageToken?string
totalCount?integer
Example Request
curl -X POST 'https://auth.your-tenant-id.my.contextual.io/api/v1/$page/organizations/{organizationId}/client-grants' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "items": [    {      "id": "string",      "client_id": "string",      "resource_server_id": "string",      "audience": "string",      "scopes": [        "string"      ],      "_metaData": {        "id": "string",        "createdAt": "2019-08-24T14:15:22Z",        "updatedAt": "2019-08-24T14:15:22Z"      }    }  ],  "nextPageToken": "string",  "totalCount": 0}