Delete a campaign
delete
/api/rest/2.0/assets/campaign/{id}
Deletes a campaign specified by the
id
parameter.Request
Supported Media Types
- application/json
Path Parameters
-
id(required): integer
Id of the campaign.
Response
Supported Media Types
- application/json
200 Response
OK
400 Response
Bad request. See Status Codes for information about other possible HTTP status codes.
401 Response
Unauthorized. See Status Codes for information about other possible HTTP status codes.
403 Response
Forbidden. See Status Codes for information about other possible HTTP status codes.
404 Response
The requested resource was not found. See Status Codes for information about other possible HTTP status codes.
500 Response
The service has encountered an error. See Status Codes for information about other possible HTTP status codes.
Examples
Delete the campaign asset with Id #28:
DELETE /api/REST/2.0/assets/campaign/28
Response status:
200 OK
For DELETE
requests, there is no body returned.