Soft archive: the environment is retained but excluded from list results by default; it can still be retrieved. Sessions already bound to this environment continue to work.
Prerequisites
Endpoint and authentication are configured. See Overview and authentication.
Endpoint
POST /environments/{environment_id}/archive
Semantics
Soft archive: the response returns the full environment object with the archived_at field populated with the archive time. Once archived, the environment is excluded from list results by default (unless include_archived=true), but can still be retrieved via GET. Sessions already bound to this environment continue to work.
Request example
Response fieldsidstringEnvironment IDtype stringFixed value environmentname / description / scope / config / metadata string / objectBasic environment attributes and full runtime configurationarchived_at stringArchive time, ISO 8601; this field is always non-null in the response from the archive endpointcreated_at / updated_at stringCreation / last update timerequestId stringUnique identifier for this request | Response examplearchived_at field populated with the archive time. Fields are as follows: |