This API is used to disconnect a Phone number under the account.
Method: Get/Post
Base URL : https://hubbucs.com/site/api/disconnect_phone_number
Method: Get/Post
Base URL : https://hubbucs.com/site/api/disconnect_phone_number
Mandatory Parameters | Sample | Description |
---|---|---|
key | 374593457034859 | The company account API key, you can get from company settings > API settings |
phone_number | 9651112222 | One of the available phone numbers got from the search phone numbers API |
Optional Parameters | Sample | Description |
---|---|---|
delete_linked_extension | 1 OR 2 | if 1: Will delete linked extension to this phone number, default value : 2 (Don't delete) |
Example:
Example :
https://hubbucs.com/site/api/disconnect_phone_number?key=12134651Gsuid7349[¶meter=parameter¶meter=parameter]
Response :
- {
- "message":"success",
- }
- ------OR------
- {
- "error_message":"error message"
- }