Campaigns

/campaigns/{campaign_id}

Removes the campaign and every post in it from ProductByte. This is what the same action does in the app, and it cannot be undone.

Nothing is removed from the channels. A published post in this campaign loses its record here and stays up on the channel — retract those first if the point is to take content down.

Requires the posts:write scope.

delete/projects/{project_id}/campaigns/{campaign_id}

Request

  • Base URL: https://api.productbyte.com/v1
  • URL: https://api.productbyte.com/v1/projects/{project_id}/campaigns/{campaign_id}
  • Auth: HTTP bearer

Path parameters

project_idstring required

The project the campaign belongs to.

campaign_idstring required

The campaign to remove.

Response

The campaign and its posts were removed.

Changes

No recorded changes to this operation across all 2 revisions of this API.