---
title: "Confirm a configuration change before AWS is updated"
method: POST
path: "/v1/managed-deployments/{deploymentId}/runs/{runId}/approval-check"
tags: ["Managed deployments"]
---

# Confirm a configuration change before AWS is updated

`POST /v1/managed-deployments/{deploymentId}/runs/{runId}/approval-check`

## Request

- Base URL: `https://api.openworklabs.com`
- URL: `https://api.openworklabs.com/v1/managed-deployments/{deploymentId}/runs/{runId}/approval-check`
- Auth: none required

Called by the approval command of a configuration change, before it updates the installer stack. Answers 200 only while the run is the deployment's active configuration change, still awaits approval, has not passed its deadline, and configuration changes are still on for the organization and the person who asked. The first 200 claims the change: from then on it cannot be edited, replaced or discarded, no install, retry or update is prepared, and it has the full run lifetime to enroll. Asking again while that deadline lasts answers 200 and changes nothing. It never enrolls the installer and issues no token. The run challenge authorizes the call; it proves who holds the command, not which AWS identity runs it.

## Path parameters

- `deploymentId` string, uuid, required
- `runId` string, uuid, required

## Request body

- object
  - `challenge` string, required

## Response `200`

Confirm a configuration change before AWS is updated

- object
  - `ok` true, required
  - `expiresAt` string, date-time, required

## Other responses

- `400`: Invalid input.
- `401`: Authentication required.
- `403`: Owner or super-admin approval required.
- `404`: Deployment or feature unavailable.
- `409`: The deployment cannot accept this operation now.
- `429`: Too many attempts.
- `503`: No installer release is configured.

## Changes

- **2026-11-18** `959d5e2545db`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/openworklabs/apis/den-api/changes/v1/managed-deployments/:deploymentId/runs/:runId/approval-check/post.md)

---

[API](https://skmtc.dev/openworklabs/apis/den-api.md) - [All operations](https://skmtc.dev/openworklabs/apis/den-api/llms.txt) - [OpenAPI document](https://skmtc.dev/openworklabs/apis/den-api/revisions/84fb0f99fb95?raw)
