API ReferenceAnnouncementsCommunity Discussion
API ReferenceCommunity DiscussionAnnouncementsSubscribeLog In
Community Discussion

Community Discussion

Ask a Question
Back to All

API: Pausing campaigns not working

We call: https://backstage.taboola.com/backstage/api/1.0/{self.account_id}/campaigns/{campaign_id}

        payload= {
            "is_active" : False
        }
    self.headers = {
                    "Authorization": f"Bearer {self.access_token}",
                    'accept': 'application/json',
                    'content-type': 'application/json'
                   }

end receive 200 status_code and the campaign object

However, the is_active is unchanged and remains at True. What are we doing wrong?