Skip to main content
POST
/
deployments
/
{deployment_id}
/
{resource_kind}
/
{ref_id}
/
instances
/
maintenance-mode
/
_start
Start maintenance mode (all instances)
curl --request POST \
  --url https://api.elastic-cloud.com/api/v1/deployments/{deployment_id}/{resource_kind}/{ref_id}/instances/maintenance-mode/_start \
  --header 'Authorization: <api-key>'
{
  "warnings": [
    {
      "code": "<string>",
      "message": "<string>"
    },
    {
      "code": "<string>",
      "message": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Path Parameters

deployment_id
string
required

(Required) Identifier for the Deployment.

Example:

"<string>"

resource_kind
string
required

(Required) The kind of resource (one of elasticsearch, kibana, apm, or integrations_server).

Example:

"<string>"

ref_id
string
required

(Required) User-specified RefId for the Resource (or '_main' if there is only one).

Example:

"<string>"

Response

The start maintenance command was issued successfully.

warnings
object[]
Example:
[
{ "code": "<string>", "message": "<string>" },
{ "code": "<string>", "message": "<string>" }
]
I