Supprime un site web. Il est retiré de toute la bibliothèque de sites du compte, pas seulement de ce numéro : tous les numéros du compte cessent de l'utiliser. Pour ne plus l'utiliser sur ce numéro uniquement, désactivez-le à la place.
La réceptionniste n'est pas activée sur ce numéro (409). Activez-la d'abord.
PARTNER_ACCOUNT_NOT_FOUND
Aucun compte avec cet identifiant n'a été créé par votre clé API, ou le compte est désactivé (404).
PHONE_NUMBER_NOT_FOUND
Le numéro n'est pas sur ce compte (404).
Autorisation
Authorizationstring · headerrequis
Api-Key ak_live_…
Paramètres de chemin
idstringrequis
The account id returned on create.
numberstringrequis
A number of the account, in E.164 format.
website_idstringrequis
The website id, as returned when it was added.
Réponses
204The website was deleted401403The API key lacks the PARTNER scope.
errorobject
404No account with this id was created by your API key, or it is deactivated (PARTNER_ACCOUNT_NOT_FOUND), or the number is not on the account (PHONE_NUMBER_NOT_FOUND). Or no website with this id.
errorobject
6 champs
typestring
codestring
messagestring
retryableboolean
request_idstring
retry_after_secondsinteger | null
409The receptionist is not activated on this number (RECEPTIONIST_NOT_ACTIVE).