Revert staged changes

Revert staged changes
Revert staged changes

Reverts all staged changes to the last deployed state.

Request
URI
DELETE
https://{opsmanager-installation}/api/v0/staged
COPY
Responses
204

No Content

Operation doesn't return any data structure

304

No changes to revert

Operation doesn't return any data structure

400

Setup is not completed

Returns RequireSetupCompleted of type(s) application/json
{
    "errors": {
        "errors": [
            "string"
        ]
    }
}

401

Unauthorized

Returns UnauthorizedResponse of type(s) application/json
{
    "errors": {
        "errors": [
            "string"
        ]
    }
}

403

Forbidden or unsafe to revert changes

Returns NestedErrorsResponseVariant of type(s) application/json
{
    "errors": {
        "errors": [
            "string"
        ]
    }
}
object
errors
Optional

errors


Code Samples
COPY
                    curl -X DELETE -H 'Authorization: <value>' https://{api_host}/api/v0/staged