Deprecations

Toggle a deprecation on or off in Octopus Server. Used to test the impact of deprecations

POST /api/deprecations/toggle

Request Body

  • Deprecation string (required)
    Minimum length 1.
  • Enabled boolean (required)

Response

200 — Confirmation that the Toggle has been deprecated

Example Request

JSON
{
  "Deprecation": "string",
  "Enabled": true
}

Example Response

JSON
{}

Toggle a deprecation on or off in Octopus Server. Used to test the impact of deprecations

POST /api/deprecations/toggle/v1

Request Body

  • Deprecation string (required)
    Minimum length 1.
  • Enabled boolean (required)

Response

200 — Confirmation that the Toggle has been deprecated

Example Request

JSON
{
  "Deprecation": "string",
  "Enabled": true
}

Example Response

JSON
{}