Start maintenance mode
Starts maintenance mode on the allocator.
Path parameters
-
The allocator identifier.
Query parameters
-
reason string
Provides a reason for changing the maintenance mode which will appear as a message on the allocator.
Responses
-
The start maintenance mode command was issued successfully
Additional properties are allowed.
-
The start maintenance mode command was prohibited for the given allocator. (code:
root.unauthorized.rbac
) -
The allocator specified by {allocator_id} cannot be found. (code:
allocators.allocator_not_found
)
POST
/platform/infrastructure/allocators/{allocator_id}/maintenance-mode/_start
curl \
-X POST https://{{hostname}}/api/v1/platform/infrastructure/allocators/{allocator_id}/maintenance-mode/_start
Response examples (202)
{}
Response examples (403)
# Headers
x-cloud-error-codes: root.unauthorized.rbac
# Payload
{
"errors": [
{
"code": "string",
"message": "string",
"fields": [
"string"
]
}
]
}
Response examples (404)
# Headers
x-cloud-error-codes: allocators.allocator_not_found
# Payload
{
"errors": [
{
"code": "string",
"message": "string",
"fields": [
"string"
]
}
]
}