post https://{domainname}/APIServices/campaignControl/inbound/delete
Use this API to delete an inbound campaign within your CloudAgent account.
In the BODY PARAMS provide the following required parameters.
For domestic ccaas - enter the domain: api.cloudagent.ozonetel.com
For International ccaas - enter the domain: ccaas.ozonetel.com
Parameter (newKey) | Description (New value) |
---|---|
username* | Provide the CloudAgnet account name |
campaignName* | Name for the campaign to be deleted |
apiKey* | Provide the API key of your account. Available in CloudAgent after admin login |
action* | To delete a campaign - "delete" |
campaignType* | "InBound" |
Possible Responses
Deleting the campaign while Running | "{ ""Message"": ""Please change the campaign status to Ready or Completed to delete the campaign."" }" |
Campaign Delete while Ready | "{ ""Message"": ""Campaign XXXXX deleted Successfully."" }" |
Passing invalid campaign name | "{ ""Message"": ""Campaign not found."" }" |