POST /api/v1/cloud/environments/{environment_id}/archive
Archives the specified environment. Once archived, archived_at is set and the environment cannot host new sessions; existing sessions are unaffected.
Headers
Path parameters
Request body
No request body.Example request
Example response
HTTP 200 OKResponse fields
Errors
See Errors for the full error envelope.
Notes
- The operation is idempotent; archiving an already-archived environment does not raise an error.
Related
Cloud environment setup
Choose the container, network, and dependencies your agent runs in.