Update OAuth Client Status

Enable or disable an OAuth client

Request
Security:
path Parameters
clientId
required
string (OAuth Client ID) non-empty

The unique identifier of the OAuth client

Example: abc123def456
Request Body schema: application/json

Request body for updating OAuth client status

enabled
required
boolean (OAuth Client Enabled Status)

Indicates whether the OAuth client is currently active and able to authenticate. Disabled clients cannot generate access tokens.

Responses
200

OAuth client status updated successfully

400

Bad request error

401

Unauthorized error

403

Forbidden error

404

Not found error

500

Internal server error

patch/oauth/clients/{clientId}
Request samples
application/json
{
  • "enabled": true
}
Response samples
application/json
{
  • "data": {
    },
  • "requestId": "06327cae-e075-42ca-b620-c5cfdd3b4e37"
}