Skip to Content
Docs

Get resource servers

GET
/organizations/{organizationId}/resource-servers

required scopes: contextual:resource-servers:read

Authorization

jwt
headerAuthorizationBearer <JWT>

Path Parameters

Query Parameters

Response Body

application/json
  1. response
items*array<>
nextPageToken?string
totalCount?integer
Example Request
curl -X GET 'https://auth.your-tenant-id.my.contextual.io/api/v1/organizations/{organizationId}/resource-servers'
Example Response
{  "items": [    {      "id": "string",      "name": "string",      "identifier": "string",      "allow_offline_access": false,      "token_lifetime": 0,      "signing_alg": "RS256",      "scopes": [        {          "value": "string",          "description": "string"        }      ],      "system": false,      "_metaData": {        "id": "string",        "createdAt": "2019-08-24T14:15:22Z",        "updatedAt": "2019-08-24T14:15:22Z"      }    }  ],  "nextPageToken": "string",  "totalCount": 0}