For the complete documentation index, see llms.txt.
Skip to main content
Version: 8.10 (unreleased)

Replace a workspace's assigned environments

PUT 

/workspaces/:workspaceKey/environments

Replaces the full set of environments assigned to the given workspace with the provided set. The request body is the exact set the workspace should end up assigned to: environments not listed are unassigned, and unassigning removes an environment from every project's selection in the workspace. Requires the update permission for the organization.

Request​

Responses​

The assigned environments were replaced successfully.