1. Telebroad | Support Center
  2. Solution home
  3. Legacy API Documentation
  4. REST API - DELETE Requests
Open navigation

DELETE/mailbox/greeting (Legacy)

  Articles in this support section discuss Telebroad's legacy APIs. To learn about the current version of Telebroad APIs, which offer additional authentication options and support for advanced features, please go to https://developers.telebroad.com/.



The DELETE/download/mailbox/greeting deletes one of the four possible mailbox greetings.


Parameters


All parameters go in the header. 


ParameterTypeOperation
mailboxstringSpecify the number of the mailbox for which to delete the greeting, if the user has more than one mailbox.
typestringThere are four different types of possible greetings that a caller will hear when he has reached your mailbox.

You can delete one greeting type at a time. You will have to send separate requests for additional types!

The greeting type must be in lowercase or you will get a "_invalid_greeting_type_" error.

greet – is played if you are not answering the call. It will have priority and be played if no other greeting has been recorded.


unavail – if you are not answering the call but the "greet" greeting has not been set up then the system will play this instead, saying your name followed by saying "is unavailable".

temp ​– temporary greeting is played if you are unreachable, like when you are logged out of all your queues or toggled your availability status to Do not disturb.

busy ​– busy greeting is played if you are already taking another call. 

Example


To delete the "temp" greeting for mailbox 201 use this syntax:


HTTPS method: DELETE


webserv.telebroad.com/api/teleconsole/rest/mailbox/greeting?mailbox=1113834&type=temp


Response:


A "null" error indicates successful deletion. Note that if the greeting is empty (it has been deleted or never been set up) you will still get a "null" error.


{ 

    "error": null, 

    "result": true 

}