Skip to main content
DELETE
Delete a campaign
Needs campaigns:delete, and a role in the workspace that can delete campaigns: owners, managers, content managers and content creators can. See Permissions.
Deletes the campaign. Its posts stay as they are, with no campaign: their campaign_id becomes null. Deleting works on every plan, Free included.

Errors

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
integer
required

The campaign's id.

Response

The campaign was deleted.

An error answer. Every one has message, in plain words; some add an error code and fields of their own.

message
string
required

What went wrong and what to do about it.