Updates the status of campaigns to stop, pause, or resume them.
Authentication is done via Basic Auth. The username is your Workspace ID (earlier APP ID) and the password is your API Key. The value is a base64 encoding of 'username:password'.
How to obtain credentials:
This is the workspace ID (earlier APP ID) of your MoEngage workspace.
You can find your MoEngage Workspace ID in the MoEngage Dashboard: Settings → Account → APIs → Workspace ID (earlier app id)
Campaign status change request with action and campaign IDs.
Request to change the status of one or more campaigns.
A unique identifier for this status change request.
"status_change_12345"
The action to perform on the campaign(s).
STOP, PAUSE, RESUME Array of campaign IDs whose status you want to change.
Maximum: 10 campaign IDs per request
1 - 10 elements["camp_abc123", "camp_def456"]
Campaign status changed successfully. No content returned.
For a successful 200 response, the API does not return any content.