Skip to Content
Docs

Get resource server by id

GET
/resource-servers/{id}

required scopes: contextual:resource-servers:read

Authorization

jwt
headerAuthorizationBearer <JWT>

Path Parameters

Header Parameters

Response Body

application/json
  1. response
id*string
name*string
identifier*string
allow_offline_access*boolean
token_lifetime*number
signing_alg*string
scopes*array<>
system*boolean
Defaultfalse
_metaData*
Example Request
curl -X GET 'https://auth.your-tenant-id.my.contextual.io/api/v1/resource-servers/{id}'
Example Response
{  "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"  }}