UNLABEL BROADCAST
Removes a label from a single broadcast
This operation removes the label from a broadcast. This doesn't remove the label from the system, it just removes the association between the broadcast and the label.
REQUEST PARAMETERS
Parameter | Data Type | Demo Value | Description |
---|---|---|---|
UnlabelBroadcast | object | ||
Id | long | 135 | Unique ID of resource |
LabelName | string | MyLabel | Label name |
EXAMPLE
using RestSharp;
namespace [your-namespace]
{
public class [your-class]
{
public string UnlabelBroadcast()
{
long broadcastId = 1903340001; // Your Broadcast Id here
var client = new RestClient("https://www.callfire.com/api/1.1/rest/");
client.Authenticator = new HttpBasicAuthenticator("YourLoginId", "password");
var request = new RestRequest(string.Format("label/broadcast/{0}", BroadcastId), Method.DELETE);
request.AddParameter("LabelName", "MyBroadcastLabel");
var response = client.Execute(request);
string content = response.Content;
return content;
}
}
}
The response code returned is:
204
Which means that the Label has been removed from a single broadcast successfully.