Partager via


Phone Numbers - Cancel Operation

Annule une opération par son ID.

DELETE {endpoint}/phoneNumbers/operations/{operationId}?api-version=2022-12-01

Paramètres URI

Nom Dans Obligatoire Type Description
endpoint
path True

string

url

Ressource de communication, par exemple https://resourcename.communication.azure.com

operationId
path True

string

ID de l’opération

api-version
query True

string

Version de l’API à appeler

Réponses

Nom Type Description
204 No Content

Aucun contenu

Other Status Codes

CommunicationErrorResponse

Échec

Exemples

Delete long running operation with the given operation id

Exemple de requête

DELETE https://resourcename.communication.azure.com//phoneNumbers/operations/search_my-operation-id?api-version=2022-12-01

Exemple de réponse

Définitions

Nom Description
CommunicationError

Erreur Communication Services.

CommunicationErrorResponse

Erreur Communication Services.

CommunicationError

Erreur Communication Services.

Nom Type Description
code

string

Code d’erreur.

details

CommunicationError[]

Plus d’informations sur les erreurs spécifiques qui ont conduit à cette erreur.

innererror

CommunicationError

Erreur interne le cas échéant.

message

string

Message d’erreur.

target

string

Cible d’erreur.

CommunicationErrorResponse

Erreur Communication Services.

Nom Type Description
error

CommunicationError

Erreur Communication Services.