Toggle a deprecation on or off in Octopus Server. Used to test the impact of deprecations
POST /api
Request Body
Deprecationstring (required)
Minimum length 1.Enabledboolean (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
Request Body
Deprecationstring (required)
Minimum length 1.Enabledboolean (required)
Response
200 — Confirmation that the Toggle has been deprecated
Example Request
JSON
{
"Deprecation": "string",
"Enabled": true
}Example Response
JSON
{}