DELETE BROADCAST SCHEDULE

Deletes a BroadcastSchedule by id

This operation deletes the BroadcastSchedule associated with a Broadcast.

REQUEST PARAMETERS

Parameter Data Type Demo Value Description
DeleteBroadcastSchedule object Delete BroadcastSchedule identified by unique ID
Id long 135 Unique ID of resource

EXAMPLE

using RestSharp;

namespace [your-namespace]
{
    public class [your-class]
    {
        public string DeleteBroadcastSchedule()
        {
            long scheduleId = 4; //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("broadcast/schedule/{0}", scheduleId), Method.DELETE);

            var response = client.Execute(request);
            string content = response.Content;
            return content;
        }
    }
}

The response code returned is:

204

Which means that the BroadcastSchedule has been deleted successfully.