---
type: api
title: Stop maintenance mode
description: Stop maintenance mode of a constructor. It will resume the construction of submitted plans.
url: https://www.elastic.co/elastic/docs-builder/docs/4641/api/doc/cloud-enterprise/v4/operation/operation-stop-constructor-maintenance-mode
resource: https://www.elastic.co/elastic/docs-builder/docs/4641/api/doc/cloud-enterprise/v4/operation/operation-stop-constructor-maintenance-mode
products:
  - Elastic Cloud Enterprise
---

# Stop maintenance mode

Authentication: required

## Paths

- `POST` `/platform/infrastructure/constructors/{constructor_id}/maintenance-mode/_stop`

#### Path parameters

- `constructor_id` (string) — required
  Identifier for the constructor

## Description

Stop maintenance mode of a constructor. It will resume the construction of submitted plans.

## Responses

#### `202`

The stop maintenance mode command was issued successfully

`application/json`

Type: `object`

#### `403`

The stop maintenance mode command was prohibited for the given constructor. (code: `constructors.command_prohibited`)

`application/json`

- `errors` (object[])
  A list of errors that occurred in the failing request
  - `code` (string)
    A structured code representing the error type that occurred
  - `message` (string)
    A human readable message describing the error that occurred
  - `fields` (string[])
    If the error can be tied to a specific field or fields in the user request, this lists those fields
##### Response headers

- `x-cloud-error-codes` (enum)
  The error codes associated with the response

#### `404`

The constructor specified by {constructor_id} cannot be found. (code: `constructors.constructor_not_found`)

`application/json`

- `errors` (object[])
  A list of errors that occurred in the failing request
  - `code` (string)
    A structured code representing the error type that occurred
  - `message` (string)
    A human readable message describing the error that occurred
  - `fields` (string[])
    If the error can be tied to a specific field or fields in the user request, this lists those fields
##### Response headers

- `x-cloud-error-codes` (enum)
  The error codes associated with the response

## Code examples

#### curl

```curl
curl -X POST "${API_URL}/platform/infrastructure/constructors/${CONSTRUCTOR_ID}/maintenance-mode/_stop" \
  -u "${USERNAME}:${PASSWORD}"
```

## Response examples

#### 202

`application/json`

Generated from the API spec. Values are representative. Unions use the first variant; deeply nested or large bodies may omit fields.

```json
{}
```

#### 403

`application/json`

Generated from the API spec. Values are representative. Unions use the first variant; deeply nested or large bodies may omit fields.

```json
{
  "errors": [
    {
      "code": "string",
      "message": "string",
      "fields": [
        "string"
      ]
    }
  ]
}
```

#### 404

`application/json`

Generated from the API spec. Values are representative. Unions use the first variant; deeply nested or large bodies may omit fields.

```json
{
  "errors": [
    {
      "code": "string",
      "message": "string",
      "fields": [
        "string"
      ]
    }
  ]
}
```

