Skip to main content
PATCH
/
v1
/
ucp
/
identity
/
clients
/
{clientId}
/
deactivate
Deactivate an OAuth client
curl --request PATCH \
  --url https://api.getsly.ai/v1/v1/ucp/identity/clients/{clientId}/deactivate \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "client_id": "<string>",
    "name": "<string>",
    "redirect_uris": [
      "<string>"
    ],
    "scopes": [
      "<string>"
    ],
    "active": true,
    "created_at": "2023-11-07T05:31:56Z"
  }
}

Authorizations

Authorization
string
header
required

API key (pk_test_* or pk_live_), JWT session, agent token (agent_), Ed25519 session (sess_), or portal token (portal_).

Path Parameters

clientId
string
required

Response

200 - application/json

Deactivated

data
object
required