Deletes a website. It is removed from the account's whole library of websites, not only from this number: every number of the account stops using it. To stop using it on this number only, turn it off instead.
The receptionist is not activated on this number (409). Activate it first.
PARTNER_ACCOUNT_NOT_FOUND
No account with this id was created by your API key, or the account is deactivated (404).
PHONE_NUMBER_NOT_FOUND
The number is not on this account (404).
Authorization
Authorizationstring · headerrequired
Api-Key ak_live_…
Path parameters
idstringrequired
The account id returned on create.
numberstringrequired
A number of the account, in E.164 format.
website_idstringrequired
The website id, as returned when it was added.
Responses
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 fields
typestring
codestring
messagestring
retryableboolean
request_idstring
retry_after_secondsinteger | null
409The receptionist is not activated on this number (RECEPTIONIST_NOT_ACTIVE).