API Guide







Delete Email Informant Campaign

This API allows you to delete an Email Informant campaign by ID. Data is returned in the following formats: XML, JSON, CSV and Serialized.

Required headers: X-API-KEY
Optional headers: ACCEPT (json, xml, csv, serialized)
Method: DELETE

Endpoint URL:

https://api.250ok.com/api/1.0/emailinformant/campaign

Sample Output:

{
    "status": "success"
}                    

Parameters

Parameter Description Acceptable Values Required
id The unique identifier of the campaign. NOTE: Test IDs can be retrieved by executing the Get Campaigns API call. Integer Y

Status Responses

Status Description
success 'status' => 'success' indicates that the delete was successful.
failed 'status' => 'failed' indicates that the delete failed.

Error Responses

Description Code Cause
No results found. 404 We couldn't find any results matching your criteria.
Email Informant ID must be specified. 404 The unique identifier of the application test is missing or invalid.
Invalid Email Informant ID. 404 The Email Informant ID must be numeric.
NULL 401 Your API key does not have sufficient permission to access this endpoint.