Start maintenance mode
Start maintenance mode of a constructor. It will stop constructing new plans while continuing with on-going ones.
Path parameters
-
Identifier for the constructor
Responses
-
The start maintenance mode command was issued successfully
Additional properties are allowed.
-
The start maintenance mode command was prohibited for the given constructor. (code:
constructors.command_prohibited
) -
The constructor specified by {constructor_id} cannot be found. (code:
constructors.constructor_not_found
)
POST
/platform/infrastructure/constructors/{constructor_id}/maintenance-mode/_start
curl \
-X POST https://{{hostname}}/api/v1/platform/infrastructure/constructors/{constructor_id}/maintenance-mode/_start
Response examples (202)
{}
Response examples (403)
# Headers
x-cloud-error-codes: constructors.command_prohibited
# Payload
{
"errors": [
{
"code": "string",
"message": "string",
"fields": [
"string"
]
}
]
}
Response examples (404)
# Headers
x-cloud-error-codes: constructors.constructor_not_found
# Payload
{
"errors": [
{
"code": "string",
"message": "string",
"fields": [
"string"
]
}
]
}