Update an environment
Changed onEdit an environment. Only the fields you send change; send null for serverAttachmentId, skillSelection, or pluginVersionIds to clear them. 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}
- 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
- breaking
removed from the
request propertyoneOflist - info
added to the
request propertyoneOflist - 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
- breaking
- info
added the new optional request property
- info
added the optional property
to the response with the status
- info