Delete a verified number
DELETE/verified_numbers/:phone_number
Delete a verified number
Request
Path Parameters
phone_number stringrequired
The phone number being deleted.
Responses
200: Expected verifications response to a valid request.
- application/json
400: Bad Request
- application/json
401: Unauthorized Request
- application/json
404: Resource Not Found
- application/json
Request samples
curl -L -X DELETE 'https://api.telnyx.com/v2/verified_numbers/:phone_number' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'
Response samples
{
"data": {
"phone_number": "+15551234567",
"record_type": "verified_number",
"verified_at": "2020-09-14T17:03:32.965812"
}
}
{
"errors": [
{
"code": "string",
"title": "string",
"detail": "string",
"source": {
"pointer": "string",
"parameter": "string"
},
"meta": {
"url": "string"
}
}
]
}
{
"errors": [
{
"code": "string",
"title": "string",
"detail": "string",
"source": {
"pointer": "string",
"parameter": "string"
},
"meta": {
"url": "string"
}
}
]
}
{
"errors": [
{
"code": "string",
"title": "string",
"detail": "string",
"source": {
"pointer": "string",
"parameter": "string"
},
"meta": {
"url": "string"
}
}
]
}