Users

Rotate a user's API token

Generates a new sk_ token for the specified user, immediately invalidating the previous token. Connected integrations (Slack, Gmail, Outlook) are NOT affected.

Authentication:

  • Authorization: Bearer <client_secret> header
  • X-Auth-Type: partner header (recommended)
  • client_id in request body
post/v1/users/{user_id}/rotate-token

Request

  • Base URL: http://0.0.0.0:3000
  • URL: http://0.0.0.0:3000/v1/users/{user_id}/rotate-token
  • Auth: none declared

Path parameters

user_idstring uuid required

Request body

client_idstring required

Response

Default Response

successtrue required

Changes

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