Environments
Modify an existing environment.
put/spaces/{spaceIdentifier}/environments/{environmentId}
Request
- Base URLhttps://demo.octopus.app/api
- URLhttps://demo.octopus.app/api/spaces/{spaceIdentifier}/environments/{environmentId}
- Auth
- API key in header X-Octopus-ApiKey
- or API key in query parameter ApiKey
- or API key in header X-NuGet-ApiKey
Path parameters
spaceIdentifierstring required
Identifier (ID or slug) of the space
environmentIdstring required
Request body
Example request
{
"EnvironmentId": "Environments-1",
"ExtensionSettings": [],
"SpaceId": "Spaces-1"
}Response
The environment after modifications have been applied.
Example response
{
"ExtensionSettings": [],
"Links": {
"Self": "/api/..."
},
"SpaceId": "Spaces-1"
}Changes
No recorded changes to this operation across all 13 revisions of this API.