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 |
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 |
---|---|
Communication |
Kommunikationstjänstens fel. |
Communication |
Kommunikationstjänstens fel. |
CommunicationError
Kommunikationstjänstens fel.
Name | Typ | Description |
---|---|---|
code |
string |
Felkoden. |
details |
Mer information om specifika fel som ledde till det här felet. |
|
innererror |
Det inre felet om det finns något. |
|
message |
string |
Felmeddelandet. |
target |
string |
Felmålet. |
CommunicationErrorResponse
Kommunikationstjänstens fel.
Name | Typ | Description |
---|---|---|
error |
Kommunikationstjänstens fel. |