Skip to Content
Docs

Update client by id

PUT
/clients/{clientId}

required scopes: contextual:clients:update

Authorization

jwt
headerAuthorizationBearer <JWT>

Path Parameters

Header Parameters

Request Body

application/json
  1. body
name*string
description?string
client_type*string
is_active*boolean
Defaulttrue
system*boolean
Defaultfalse

Response Body

application/json
  1. response
client_id*string
client_secret*string
name*string
description?string
client_type*string
is_active*boolean
Defaulttrue
system*boolean
Defaultfalse
_metaData*
Example Request
curl -X PUT 'https://auth.your-tenant-id.my.contextual.io/api/v1/clients/{clientId}' \  -H 'Content-Type: application/json' \  -d '{  "name": "string",  "client_type": "non_interactive",  "is_active": true,  "system": false}'
Example Response
{  "client_id": "string",  "client_secret": "string",  "name": "string",  "description": "string",  "client_type": "non_interactive",  "is_active": true,  "system": false,  "_metaData": {    "id": "string",    "createdAt": "2019-08-24T14:15:22Z",    "updatedAt": "2019-08-24T14:15:22Z"  }}