latestOpenAPI 3.1.02026-08-1014497184.0 KB

8b99dca11019

teams

Delete an user's Teams token

Deletes a specific user's Teams token. This endpoint is available to project administrators and permanently invalidates the specified token. Once revoked, the token can no longer be used to access channel features. This action cannot be undone.

delete/users/{user_id}/channels/teams/tokens/{token_id}

Path parameters

user_idstring required
token_idstring required

Response

OK

discarded_atstring

The timestamp when the token was discarded.

idstring

The unique identifier for the discarded token.

Example response

{
  "discarded_at": "2021-01-01T00:00:00Z",
  "id": "123"
}