Members

Revoke a user's OAuth tokens

Revoke a user's OAuth refresh tokens used for OIDC single sign-on and warehouse connections, so Sigma can no longer issue new access tokens on the user's behalf.

After making a request to this endpoint, refresh tokens are revoked immediately. However, a user's existing session is not interrupted. Already-issued access tokens lapse at their normal TTL.

Usage notes

  • Retrieve the memberId by calling the /v2/members endpoint.
  • You must use API credentials owned by a user assigned the Admin account type.
post/v2/members/{memberId}/revoke

Request

  • Base URL
    https://api.sigmacomputing.com
  • Auth
    HTTP bearer

Path parameters

memberIdstring required

Request body

object required

Response

The response body.

memberIdstring required

Unique identifier of the user whose tokens were revoked.

Changes

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