Update resource server by id
PUT
required scopes: contextual:resource-servers:update
jwtheader
AuthorizationBearer <JWT>application/json- body
name*stringallow_offline_access*booleantoken_lifetime*numbersigning_alg*stringscopes*array<>system*booleanDefault
falseapplication/json- response
id*stringname*stringidentifier*stringallow_offline_access*booleantoken_lifetime*numbersigning_alg*stringscopes*array<>system*booleanDefault
false_metaData*curl -X PUT 'https://auth.your-tenant-id.my.contextual.io/api/v1/organizations/{organizationId}/resource-servers/{id}' \ -H 'Content-Type: application/json' \ -d '{ "name": "string", "allow_offline_access": false, "token_lifetime": 0, "signing_alg": "RS256", "scopes": [ { "value": "string" } ], "system": false}'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" }}