Remove Number from SIP Connection
Remove Number from the SIP connection
POST https://api.opentact.org/rest/sip/connection/UUID/tnlease
This api is used to remove the number from the SIP connection.
Query Parameters
Name
Type
Description
UUID*
STRING
This field contains the UUID of the sip connection which the user need to remove the number.
REMOVE*
STRING
This field is used to remove the number from the sip connection. it should be used in the below format.
"remove": [ "UUID", "UUID", "UUID" ]
UUID*
STRING
This field contains the uuid of the number that the user going to remove from the sip connection.
Headers
Name
Type
Description
Authorization*
String
JWT_Token
Content-Type
String
Application/json
{
"success": true,
"payload": [
"b243f4a2-1bf0-4173-b822-0426486edf3a",
"b243f4a2-1bf0-4173-b822-0426486edf3b"
]
}{
"success": false,
"message": "string",
"status": 500,
"meta": "string",
"fields": {
"params.to": {
"message": "invalid integer number",
"value": "qwerty123456789"
}
}
}{
"success": false,
"message": "string",
"status": 500,
"meta": "string",
"fields": {
"params.to": {
"message": "invalid integer number",
"value": "qwerty123456789"
}
}
}{
"success": false,
"message": "string",
"status": 500,
"meta": "string",
"fields": {
"params.to": {
"message": "invalid integer number",
"value": "qwerty123456789"
}
}
}Last updated
Was this helpful?