oauth_clients

Update OAuth client

Edit a client: name, redirect_uris, permissions, grant_types (full replacements) and actor_kind (only tokens minted afterwards carry the new kind). Tightening permissions touches future mints only; live tokens keep their frozen set, so cut access with disable_oauth_client. status moves by disable / enable, client_id and is_confidential never. At least one field.

Contract:

  • MCP tool update_oauth_client, registry package mcp.id/oauth_clients, mount id.access.
  • Operation update, response envelope update.
  • Flags: none.
patch/api/oauth-clients/{sid}

Request

  • Base URL
    https://beta.getsales.io/id/v1
  • Auth
    HTTP bearer and API key in header Team-SID

Path parameters

sidstring required

OAuth client sid (id_oc_...).

Request body

namestring

New name, 1..255 chars.

redirect_urisstring[]

FULL replacement of the exact-match https allow-list.

permissionsstring[]

FULL replacement of the permission ceiling.

grant_typesstring[]

FULL replacement of the grant types.

actor_kind'agent' | 'integration'

Reclassify the client; tokens minted afterwards carry the new kind.

Response

update success envelope.

successtrue required
operation'update' required
updated_fieldsstring[] required
previous_valuesobject required
kept_fieldsstring[]

The fields this write did not change because the person's own value stands on them (stamped person); read the item for what landed.

Changes

No recorded changes to this operation across all 1 revision of this API.