UNLABEL NUMBER

Removes a label from a single number

This operation removes a label from a number. It doesn't remove the label from the system, it just removes the association between the number and the label.

REQUEST PARAMETERS

Parameter Data Type Demo Value Description
UnlabelNumber object
Number PhoneNumber List of E.164 11 digit numbers space seperated and optional fieldName
LabelName string MyLabel Label name

EXAMPLE

using RestSharp;

namespace [your-namespace]
{
    public class [your-class]
    {
        public string UnlabelNumber()
        {
            string number = "12132042444"; // Your Number 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/number/{0}", number), Method.DELETE);
            request.AddParameter("LabelName", "MyNumberLabel");

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

The response code returned is:

204

Which means that the Label has been created successfully.