Share via


Communication Identity - Delete

刪除身分識別、撤銷身分識別的所有令牌,並刪除所有相關聯的數據。

DELETE {endpoint}/identities/{id}?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

錯誤

範例

Delete an identity

Sample Request

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

Sample Response

定義

名稱 Description
CommunicationError

通訊服務錯誤。

CommunicationErrorResponse

通訊服務錯誤。

CommunicationError

通訊服務錯誤。

名稱 類型 Description
code

string

錯誤碼。

details

CommunicationError[]

進一步詳細說明導致此錯誤的特定錯誤。

innererror

CommunicationError

如果有,則為內部錯誤。

message

string

錯誤訊息。

target

string

錯誤目標。

CommunicationErrorResponse

通訊服務錯誤。

名稱 類型 Description
error

CommunicationError

通訊服務錯誤。