Resume Elasticsearch project

POST /api/v1/serverless/projects/elasticsearch/{id}/_resume

Resume a previously suspended Elasticsearch project. Projects can be automatically suspended after their trial period has expired.

Headers

  • If-Match string

    ETag value fetched in a previous GET project request. Used to prevent simultaneous updates.

Path parameters

  • id string Required

    The ID of the project

    Format should match the following pattern: ^[a-z0-9]{32}$.

Responses

  • Project resumption scheduled.

    Hide headers attribute Show headers attribute
  • 404 application/json

    Not Found

    Hide response attribute Show response attribute object
    • errors array[object] Required
      Hide errors attributes Show errors attributes object
      • message string Required

        A human-readable message of the error.

      • code string Required

        An identifier for this type of error.

  • 409 application/json

    Conflict

    Hide response attribute Show response attribute object
    • errors array[object] Required
      Hide errors attributes Show errors attributes object
      • message string Required

        A human-readable message of the error.

      • code string Required

        An identifier for this type of error.

  • 412 application/json

    Precondition failed

    Hide response attribute Show response attribute object
    • errors array[object] Required
      Hide errors attributes Show errors attributes object
      • message string Required

        A human-readable message of the error.

      • code string Required

        An identifier for this type of error.

POST /api/v1/serverless/projects/elasticsearch/{id}/_resume
curl \
 -X POST https://api.elastic-cloud.com/api/v1/serverless/projects/elasticsearch/{id}/_resume \
 -H "If-Match: string"
Response examples (404)
{
  "errors": [
    {
      "message": "Explicative error message",
      "code": "code.error"
    }
  ]
}
Response examples (409)
{
  "errors": [
    {
      "message": "Explicative error message",
      "code": "code.error"
    }
  ]
}
Response examples (412)
{
  "errors": [
    {
      "message": "Explicative error message",
      "code": "code.error"
    }
  ]
}