earmarkIQ Context

Update Token Scopes

Narrow (or re-grant) what one connection can read, without severing it.

This is what makes a scope independently revocable: the user can take away transactions and keep subscriptions, rather than having to kill the whole connection. Applies on the connection's very next call — tools read the scope from the token row, not from the bearer claims.

Narrowing a legacy context:read grant to an explicit set is the supported way for an existing user to move off all-access.

patch/api/mcp-tokens/{token_id}/scopes

Request

  • Base URL: https://api.earmarkiq.app (the document declares no server; this is the origin it was published from)
  • URL: https://api.earmarkiq.app/api/mcp-tokens/{token_id}/scopes
  • Auth: HTTP bearer

Path parameters

token_idstring uuid required

Request body

scopesstring[] required

Response

Successful Response

idstring required
kindstring required
namestring nullable required
client_idstring nullable required
created_atstring required
connected_atstring required
last_used_atstring nullable required
revokedboolean required
expires_atstring nullable required
scopesstring[] required
coversstring[] required
legacy_full_accessboolean required

Changes

No recorded changes to this operation across all 2 revisions of this API.