共用方式為


Communication Identity - Revoke Access Tokens

撤銷特定身分識別的所有存取令牌。

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

URI 參數

名稱 位於 必要 類型 Description
endpoint
path True

string

通訊資源,例如 https://my-resource.communication.azure.com

id
path True

string

識別的標識碼。

api-version
query True

string

要叫用的 API 版本。

回應

名稱 類型 Description
204 No Content

無內容

Other Status Codes

CommunicationErrorResponse

錯誤

範例

Revoke access tokens

範例要求

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

範例回覆

定義

名稱 Description
CommunicationError

通訊服務錯誤。

CommunicationErrorResponse

通訊服務錯誤。

CommunicationError

通訊服務錯誤。

名稱 類型 Description
code

string

錯誤碼。

details

CommunicationError[]

導致此錯誤之特定錯誤的詳細數據。

innererror

CommunicationError

如果有,則為內部錯誤。

message

string

錯誤訊息。

target

string

錯誤目標。

CommunicationErrorResponse

通訊服務錯誤。

名稱 類型 Description
error

CommunicationError

通訊服務錯誤。