Skip to main content
POST
/
deployments
/
{deployment_id}
/
{stateless_resource_kind}
/
{ref_id}
/
_restart
Restart Deployment Stateless Resource
curl --request POST \
  --url https://api.elastic-cloud.com/api/v1/deployments/{deployment_id}/{stateless_resource_kind}/{ref_id}/_restart \
  --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>"

stateless_resource_kind
string
required

(Required) The kind of stateless resource

Example:

"integrations_server"

ref_id
string
required

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

Example:

"<string>"

Query Parameters

cancel_pending
string

If true, cancels any pending plans before restarting. If false and there are pending plans, returns an error.

Example:

"false"

Response

The restart command was issued successfully

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