Delete Numbers
Delete a specific number from your account GET or POST Request
GET or POST Request
Send us a GET or POST request with your key and the number (in the URI as key or as http password)
This deletes your number from your account.
Argument
Required
Type
number
yes
int
curl -X POST https://v1.api19.com/dids/delete \
-d 'number=3038821111' \
-d 'key=your-key'{
"status": "ok"
}{
'status' => 'error',
'error' => 'DID is required',
'code' => 'missing_did'
}
{
'status' => 'error',
'error' => 'Invalid DID',
'code' => 'invalid_did'
}
{
'status' => 'error',
'error' => 'Cannot find did',
'code' => 'mssing_data'
}
{
'status' => 'error',
'error' => 'DID does not exist',
'code' => 'missing_db'
}
{
'status' => 'error',
'error' => 'Number not available',
'code' => 'no_availability'
}
{
'status' => 'error',
'error' => 'Number not available {did}',
'code' => 'did_not_available'
}
Last updated