Release a Number
Release a TN number
DELETE https://api.opentact.org/rest/lease/tn/uuid
This API allows you to lease the TN number from the user account
Query Parameters
Name
Type
Description
UUID*
String
To release a Tn number we need to add Tn lease UUID or phone number on this field
Headers
Name
Type
Description
Authorization*
String
JWT-Token
Content-Type
String
application/json
{
"success": true,
"payload": {
"uuid": "c5cc6326-0023-43d8-81a5-e7b7e019919d",
"created_on": "2022-07-04T10:16:32.977Z",
"modified_on": "2022-07-04T10:16:32.977Z",
"expired_on": "2022-07-04T10:16:32.977Z",
"autorenew": true,
"tn": {
"tn": 12017771234,
"created_on": "2022-07-04T10:16:32.977Z",
"modified_on": "2022-07-04T10:16:32.977Z",
"deleted_on": null
},
"subscriptions": []
}
}{
"success": false,
"message": "string",
"status": 500,
"meta": "string",
"fields": {
"params.to": {
"message": "invalid integer number",
"value": "qwerty123456789"
}
}
}Last updated
Was this helpful?