ParentEnvironments

Create a new parent environment.

post/spaces/{spaceIdentifier}/parentEnvironments

Request

  • Base URL
    https://demo.octopus.app/api
  • URL
    https://demo.octopus.app/api/spaces/{spaceIdentifier}/parentEnvironments
  • 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

Request body

Descriptionstring
Namestring required
Slugstring
SpaceIdstring required
UseGuidedFailureboolean

Example request

{
  "SpaceId": "Spaces-1"
}

Response

Created

Idstring required

Example response

{
  "Id": "Environments-1"
}

Changes

No recorded changes to this operation across all 13 revisions of this API.