Communication Identity - Revoke Access Tokens

Revoke all access tokens for the specific identity.

POST {endpoint}/identities/{id}/:revokeAccessTokens?api-version=2023-10-01

URI Parameters

Name In Required Type Description
endpoint
path True

string

The communication resource, for example https://my-resource.communication.azure.com

id
path True

string

Identifier of the identity.

api-version
query True

string

Version of API to invoke.

Responses

Name Type Description
204 No Content

No Content

Other Status Codes

CommunicationErrorResponse

Error

Examples

Revoke access tokens

Sample request

POST https://my-resource.communication.azure.com/identities/8:acs:2dee53b4-368b-45b4-ab52-8493fb117652_00000005-14a2-493b-8a72-5a3a0d000081/:revokeAccessTokens?api-version=2023-10-01

Sample response

Definitions

Name Description
CommunicationError

The Communication Services error.

CommunicationErrorResponse

The Communication Services error.

CommunicationError

The Communication Services error.

Name Type Description
code

string

The error code.

details

CommunicationError[]

Further details about specific errors that led to this error.

innererror

CommunicationError

The inner error if any.

message

string

The error message.

target

string

The error target.

CommunicationErrorResponse

The Communication Services error.

Name Type Description
error

CommunicationError

The Communication Services error.