Reference / Oauth Provider

PATCH /v1/oauth/clients/{id}

PATCH /v1/oauth/clients/{id}
Secret API key operationId: update_client

Authorization

Server-to-server. Send a secret key as a Bearer token plus the x-application-id header.

Path parameters

  • id string<uuid> required

    Client row id

Request body · required

  • grant_types string[]
  • name string
  • redirect_uris string[]
  • scopes string[]

Responses

200 Updated
{
  "data": {
    "client_id": "string",
    "created_at": "2026-01-15T09:30:00Z",
    "grant_types": [
      "string"
    ],
    "id": "018f3c4a-7b2e-7c1d-9e0a-1f2b3c4d5e6f",
    "name": "string",
    "public": false,
    "redirect_uris": [
      "string"
    ],
    "scopes": [
      "string"
    ]
  },
  "error": {
    "code": "string",
    "message": "string"
  },
  "meta": {
    "timestamp": "string"
  },
  "success": false
}

Request

curl -X PATCH "https://api.identrahq.com/v1/oauth/clients/018f3c4a-7b2e-7c1d-9e0a-1f2b3c4d5e6f" \
  -H "Content-Type: application/json" \
  -d '{
  "grant_types": [
    "string"
  ],
  "name": "string",
  "redirect_uris": [
    "string"
  ],
  "scopes": [
    "string"
  ]
}'

Try it

live request
PATCH https://api.identrahq.com/v1/oauth/clients/018f3c4a-7b2e-7c1d-9e0a-1f2b3c4d5e6f

Path parameters

Request body

application/json