CallFire Solutions

Unlabel Broadcast

Follow

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

ParameterDemo ValueDescriptionData Type
UnlabelBroadcast     object
Id Unique ID of resource long
LabelName Label name string

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.

Have more questions? Submit a request

Comments