cURL
curl --request PUT \ --url https://api.atendai.com/api/campaigns/{campaignId}/deactivate \ --header 'Authorization: Bearer <token>'
{ "message": "<success message>" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The ID of the campaign to make inactive
Successful response
"<success message>"