Revoke an automation token

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://docs.usehearsay.com/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
{
  "integrations MCP server": {
    "url": "https://docs.usehearsay.com/mcp"
  }
}

Close
DELETE /auth/tokens/{id}

Marks one of the caller's automation tokens as revoked. Works even while automation tokens are turned off. Returns 404 when the id is not one of the caller's automation tokens.

Path parameters

  • id string Required

    Automation token (session) id

Responses

  • 204

    Token revoked. No body.

DELETE /auth/tokens/{id}
curl \
 --request DELETE 'http://api.example.com/auth/tokens/{id}' \
 --header "Authorization: Bearer $ACCESS_TOKEN"