Replace a campaign
PUT/campaign/:id
Replaces a campaign's name, description, agent and spec (send them all), validated as on creation. Runs already launched keep the spec they were launched with.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 429
OK
Validation error: the request is invalid and nothing was changed.
Missing, invalid, expired or revoked credential, or a credential this endpoint does not accept.
The credential may not do this (for example a run token outside its own run, or a caller without an organization), or the installation is read-only because its license is not valid (code: license_read_only).
Not found: no such object in the caller's organization.
Rate limited: retry after the number of seconds in the Retry-After header.