latestOpenAPI 3.1.02026-08-1014497184.0 KB

8b99dca11019

teams

Delete a Teams token

Deletes one of the authenticated user's Teams tokens. This permanently invalidates the specified token, preventing it from being used for future channel access. This action cannot be undone. Users can only revoke their own tokens.

delete/channels/teams/tokens/{token_id}

Path parameters

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"
}