Skip to main content
PATCH
Activate or deactivate a campaign

Authorizations

Authorization
string
header
required

API key from Settings → API. Send it as Authorization: Bearer .

Headers

x-impersonate-user-id
string

ID of an organization member to act on behalf of. The API key user must be the owner of the organization and the target user must belong to the same organization.

Path Parameters

id
number
required

Body

application/json
active
boolean
required

true to activate the campaign, false to deactivate it

Example:

true

Response

Campaign status updated