Archives an environment. Fails with cannot.delete.env.enabled.truetest if
TrueTest has a matching environment. A newly created environment can already
have one, because create also creates a TrueTest environment even when the AUT
is not TrueTest-enabled. This call does not delete the TrueTest environment.
Archiving the whole AUT, when allowed, archives its environments and links
too, so do not archive an AUT only to remove one environment.
A missing, archived, or out-of-account environment returns 404
aut.not.found. An invalid parent AUT can return 400 aut.not.found.
Environments are part of the AUT, so this call requires the Aut:Update
permission.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
204Local environment archived; no body.
400Invalid payload, context, or ID; an ownership or lifecycle restriction; a capacity limit; or a TrueTest failure. The error body format varies.
401Authentication or the required user context is missing or invalid. The error body format varies.
403The caller lacks the operation permission or access to the resource. Headers do not grant access. The error body format varies.
404The resource is missing, archived, or outside the account, or the path does not match. Environment archive can return aut.not.found. The error body format varies.
defaultAny other error. The error body format varies.