Archive an AUT environment

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.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
int64
required

Admin environment ID (int64), not the AUT ID. The TrueTest route accepts digits only.

Headers
uuid
required

Required resolved account UUID; no default. Does not grant permission or override ownership.

int64
required

Project ID, required on every request. It selects the project context; it is not a record ID and does not grant permissions.

int64

Optional numeric organization context; does not grant membership or permission.

Responses
204

Local environment archived; no body.

400

Invalid payload, context, or ID; an ownership or lifecycle restriction; a capacity limit; or a TrueTest failure. The error body format varies.

401

Authentication or the required user context is missing or invalid. The error body format varies.

403

The caller lacks the operation permission or access to the resource. Headers do not grant access. The error body format varies.

404

The 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.

default

Any other error. The error body format varies.

Language
Credentials
Basic
base64
:
URL
LoadingLoading…