O Auth2 Clients

Patch client by ID

PATCH
/api/v2/oauth/clients/{clientId}

Patch an existing OAuth 2.0 client by client ID. Updating an OAuth2 client uses a JSON patch representation of the desired changes. To learn more, read Updates. Only name, description, and redirectUri may be patched.

Authorization

ApiKey read, write
Authorization<token>

In: header

Scope: read, write

Path Parameters

clientId*string

The client ID

Formatstring

Request Body

application/json

[index: integer]?

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X PATCH "https://example.com/api/v2/oauth/clients/string" \  -H "Content-Type: application/json" \  -d '[    {      "op": "replace",      "path": "/name",      "value": "Example Client V2"    }  ]'
{  "_links": {    "parent": {      "href": "/api/v2/oauth/clients",      "type": "application/json"    },    "self": {      "href": "/api/v2/oauth/clients/50666563-9144-4125-b822-33f308227e45",      "type": "application/json"    }  },  "name": "string",  "description": "string",  "_accountId": "string",  "_clientId": "string",  "_clientSecret": "string",  "redirectUri": "string",  "_creationDate": "1494437420312"}