Tokens

Stop allowing a personal token to write the guidance card

Requires the authenticated web session; every Bearer token, including admin scope, receives 403 FORBIDDEN (Guidance write grants require the web session). Closes every open guidance write grant of the caller's own token, whatever workspace each names; another person's token answers 404 NOT_FOUND (Token not found). Idempotent: a token with nothing open still answers 204.

delete/api/tokens/{tokenId}/guidance-grant

Request

  • Base URL: https://tre-app.com
  • URL: https://tre-app.com/api/tokens/{tokenId}/guidance-grant
  • Auth: one of:
    • API key in cookie __Secure-authjs.session-token
    • API key in cookie authjs.session-token

Response

No content

Changes

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