tokens

Invalidate a user access token

Invalidates an access token for a service account or user account. Use the token ID, not the token secret.

delete/v1/users/{username}/tokens/{token_id}

Request

  • Base URL: https://api.motherduck.com
  • URL: https://api.motherduck.com/v1/users/{username}/tokens/{token_id}
  • Auth: HTTP bearer

Path parameters

token_idstring required
usernamestring required

user within the organization

Response

Successful response

object required

Changes

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