---
title: "Set Automation settings"
method: PUT
path: "/v1/org/automation-settings"
tags: ["Organizations"]
---

# Set Automation settings

`PUT /v1/org/automation-settings`

## Request

- Base URL: `https://api.openworklabs.com`
- URL: `https://api.openworklabs.com/v1/org/automation-settings`
- Auth: one of:
  - API key in header `x-api-key`
  - HTTP bearer

Turns Desktop Automations and Cloud Automations on or off for the organization. Turning a kind off stops new ones from being created and skips its scheduled runs; existing Automations and their history are kept and resume when it is turned back on. Cloud Automations cannot be turned on until the deployment has a headless runner. Requires Edit organization settings.

## Request body

- OrganizationAutomationSettingsInput
  - `desktop` boolean
  - `cloud` boolean

## Response `200`

Automation settings saved.

- OrganizationAutomationSettings
  - `settings` object, required
    - `desktop` boolean, required
    - `cloud` boolean, required
  - `available` object, required
    - `desktop` boolean, required
    - `cloud` boolean, required
  - `deploymentEnabled` boolean, required
  - `headlessRunnerConfigured` boolean, required

## Other responses

- `400`: The request was invalid.
- `401`: Authentication required.
- `403`: The caller cannot edit organization settings.
- `404`: Automation settings are not turned on for this organization.
- `409`: Cloud Automations need the deployment's headless runner.

## Changes

- **2026-10-23** `c93387179b31`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/openworklabs/apis/den-api/changes/v1/org/automation-settings/put.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/8170cf4a92ca?raw)
