Agents

Revoke an agent's access with its refresh token

RFC 7009. Revokes the grant behind a refresh token, so the agent's access ends within one access token lifetime (15 minutes at most). It answers 200 for a token it does not know, so it cannot be used to find out which tokens exist. The workspace's owners and admins are told once.

post/oauth/agent/revoke

Request

  • Base URL: https://api.customdomain.ai
  • URL: https://api.customdomain.ai/oauth/agent/revoke
  • Auth: none required

Request body

tokenstring required

The refresh token.

Response

Revoked, or the token was not known

Changes

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