Environments

Delete the environment state entry with the given key for a project/environment (and optionally tenant).

Changed on
delete/{spaceId}/projects/{projectId}/environments/{environmentId}/tenants/{tenantId}/states/{key}

Request

  • Base URL
    https://demo.octopus.app/api
  • URL
    https://demo.octopus.app/api/{spaceId}/projects/{projectId}/environments/{environmentId}/tenants/{tenantId}/states/{key}
  • 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

spaceIdstring required

The ID of the space containing the environment state entry.

projectIdstring required

The ID of the project the environment state entry belongs to.

environmentIdstring required

The ID of the environment the environment state entry belongs to.

tenantIdstring required

An ID for a Tenant. If supplied, the entry deleted is the one published for the Tenant identified by the ID. If not supplied, the untenanted entry is deleted.

keystring required

The key of the environment state entry to delete.

Response

Success

Changes