Skip to main content
POST
/
boosted-pages
/
toggle
/
{id}
Activate/Deactive Boosted Page Campaign
curl --request POST \
  --url https://api.boosterberg.com-beta.com/v1/boosted-pages/toggle/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{}'
true

Authorizations

Authorization
string
header
required

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

Path Parameters

id
integer
required
Example:

11

Body

application/json
active
enum<number>
Available options:
1,
0

Response

200 - application/json

Returns true when change of status is successful

The response is of type boolean.