Archive an environment
Changed onArchive an environment. It stops being selectable for runs and frees its name for a new one, but the row is kept and can be restored — this is why archive is a sub-action rather than a DELETE. Requires expectedRevision — the revision you last read. If the environment changed since, the write is rejected with 409 rather than overwriting the concurrent edit. Requires project admin.
Request
- Base URLhttps://app.mcpjam.com/api/v1
- URLhttps://app.mcpjam.com/api/v1/projects/{projectId}/environments/{environmentId}/archive
- AuthHTTP bearer
Path parameters
ID of the hosted project that contains the server.
Project environment ID, as returned by the project's environment list.
Request body
Response
The updated environment.
Changes
- info
added the optional property
to the response with the status - info
the response optional property
became read-only for the status - info
added to the
response propertyallOflist for the response status - info
removed from the
response propertyallOflist for the response status
- info
- info
added the optional property
to the response with the status
- info