PUT
/
api
/
campaigns
/
{campaignId}
/
deactivate
curl --request PUT \
  --url https://api.atendai.com/api/campaigns/{campaignId}/deactivate \
  --header 'Authorization: Bearer <token>'
{
  "message": "<success message>"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

campaignId
string
required

The ID of the campaign to make inactive

Response

200
application/json
Successful response
message
string
required
Example:

"<success message>"