PATCH
/
clients
/
{id}
curl --request PATCH \
  --url https://api.identety.dev/clients/{id} \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "name": "<string>",
  "redirectUris": [
    "<string>"
  ],
  "allowedScopes": [
    "<string>"
  ],
  "allowedGrants": [
    "authorization_code"
  ],
  "settings": {}
}'
{
  "id": "uuid-123",
  "clientId": "client_abc123",
  "clientSecret": "secret_xyz789",
  "name": "My Client",
  "type": "public",
  "redirectUris": [
    "https://example.com/callback"
  ],
  "allowedScopes": [
    "openid",
    "profile"
  ],
  "allowedGrants": [
    "authorization_code"
  ],
  "isActive": true,
  "settings": {
    "tokenEndpointAuthMethod": "client_secret_basic",
    "accessTokenTTL": 3600
  }
}

Authorizations

x-api-key
string
header
required

Path Parameters

id
string
required

Body

application/json

Response

200
application/json

Client updated successfully

The response is of type object.