Dela via


Communication Identity - Revoke Access Tokens

Återkalla alla åtkomsttoken för den specifika identiteten.

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

URI-parametrar

Name I Obligatorisk Typ Description
endpoint
path True

string

Kommunikationsresursen, till exempel https://my-resource.communication.azure.com

id
path True

string

Identifierare för identiteten.

api-version
query True

string

Version av API som ska anropas.

Svar

Name Typ Description
204 No Content

Inget innehåll

Other Status Codes

CommunicationErrorResponse

Fel

Exempel

Revoke access tokens

Exempelbegäran

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

Exempelsvar

Definitioner

Name Description
CommunicationError

Kommunikationstjänstens fel.

CommunicationErrorResponse

Kommunikationstjänstens fel.

CommunicationError

Kommunikationstjänstens fel.

Name Typ Description
code

string

Felkoden.

details

CommunicationError[]

Mer information om specifika fel som ledde till det här felet.

innererror

CommunicationError

Det inre felet om det finns något.

message

string

Felmeddelandet.

target

string

Felmålet.

CommunicationErrorResponse

Kommunikationstjänstens fel.

Name Typ Description
error

CommunicationError

Kommunikationstjänstens fel.