Archive campaign
POST/v1/public/campaigns/:campaignId/archive
Moves a finished campaign to the archive. Only campaigns in COMPLETED or BANNED status can be archived; for A/B and follow-up campaigns the whole family is archived. Archived campaigns are hidden from the default campaign list — pass archived=true to list them.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 422
- 429
- 500
Archive result with ids of affected campaigns.
The request is invalid.
A valid Public API token is required.
The endpoint requires a scope that is not granted to the token.
The requested resource was not found.
Only completed or banned campaigns can be archived.
The current API key exceeded the configured rate limit.
Response Headers
Retry-After
Number of seconds after which the request may be retried safely.
Internal server error.