你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Communication Identity - Revoke Access Tokens

撤销特定标识的所有访问令牌。

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

URI 参数

名称 必需 类型 说明
endpoint
path True

string

通信资源,例如 https://my-resource.communication.azure.com

id
path True

string

标识的标识符。

api-version
query True

string

要调用的 API 的版本。

响应

名称 类型 说明
204 No Content

无内容

Other Status Codes

CommunicationErrorResponse

错误

示例

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

定义

名称 说明
CommunicationError

通信服务错误。

CommunicationErrorResponse

通信服务错误。

CommunicationError

通信服务错误。

名称 类型 说明
code

string

错误代码。

details

CommunicationError[]

有关导致此错误的特定错误的详细信息。

innererror

CommunicationError

内部错误(如果有)。

message

string

错误消息。

target

string

错误目标。

CommunicationErrorResponse

通信服务错误。

名称 类型 说明
error

CommunicationError

通信服务错误。