Communication Identity - Delete

Delete the identity, revoke all tokens for the identity and delete all associated data.

DELETE {endpoint}/identities/{id}?api-version=2023-10-01

URI Parameters

Name In Required Type Description
endpoint
path True

string

The communication resource, for example https://my-resource.communication.azure.com

id
path True

string

Identifier of the identity to be deleted.

api-version
query True

string

Version of API to invoke.

Responses

Name Type Description
204 No Content

No Content

Other Status Codes

CommunicationErrorResponse

Error

Examples

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

Definitions

Name Description
CommunicationError

The Communication Services error.

CommunicationErrorResponse

The Communication Services error.

CommunicationError

The Communication Services error.

Name Type Description
code

string

The error code.

details

CommunicationError[]

Further details about specific errors that led to this error.

innererror

CommunicationError

The inner error if any.

message

string

The error message.

target

string

The error target.

CommunicationErrorResponse

The Communication Services error.

Name Type Description
error

CommunicationError

The Communication Services error.