---
title: "Set a team's Workbot settings"
method: PUT
path: "/v1/org/workbot-settings/teams/{teamId}"
tags: ["Organizations"]
---

# Set a team's Workbot settings

`PUT /v1/org/workbot-settings/teams/{teamId}`

## Request

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

Changes one team's Workbot default model, Workbot name, whether Workbot is on for the team (`enabled`), or several; a setting left out is kept. For each, `{ inherit: true }` makes the team use the organization's value again and `{ inherit: false, value }` sets the team's own: a model from the caller's supported, credential-ready AI Gateway models (null is the deployment's default model), a name of 1 to 40 characters, or true or false for `enabled`. With members' agents on (workbotProactive), `agent: { inherit: true }` removes the team's own policy for its members' agents so they follow the organization's again from their next check (the team's own policy is saved with `PUT /v1/org/workbot-settings/teams/{teamId}/agent`); without it `agent` answers 400. The team's members get it from their next message or run, in Workbot, the Slack assistant and cloud Automations set to the cloud default; a member on several teams whose own values differ gets the organization's. `enabled` covers the Workbot app and Your agent only, never the Slack assistant, Automations or the desktop app. A team's model selects a model and never grants access to it. Requires the Manage OpenWork Models permission, which also governs the team's Workbot name and switch and a recent sign-in.

## Path parameters

- `teamId` string, typeid, required

## Request body

- WorkbotTeamSettingsWrite
  - `model` union
    - object
      - `inherit` true, required
    - object
      - `inherit` false, required
      - `value` string, nullable, required
  - `name` union
    - object
      - `inherit` true, required
    - object
      - `inherit` false, required
      - `value` string, required
  - `enabled` union
    - object
      - `inherit` true, required
    - object
      - `inherit` false, required
      - `value` boolean, required
  - `agent` WorkbotTeamAgentInherit
    - `inherit` true, required

## Response `200`

Workbot settings per team saved.

- WorkbotTeamSettings
  - `organization` object, required
    - `model` string, nullable, required
    - `name` string, nullable, required
    - `enabled` boolean, required
    - `agentEnabled` boolean
    - `agentCalendar` 'everyone' | 'members' | 'off'
  - `teams` WorkbotTeamSettingsTeam[], required
    - `teamId` string, required
    - `teamName` string, required
    - `memberCount` integer, required
    - `model` union, required
      - object
        - `inherit` true, required
      - object
        - `inherit` false, required
        - `value` string, nullable, required
    - `name` union, required
      - object
        - `inherit` true, required
      - object
        - `inherit` false, required
        - `value` string, required
    - `enabled` union, required
      - object
        - `inherit` true, required
      - object
        - `inherit` false, required
        - `value` boolean, required
    - `agent` object
      - `inherit` boolean, required
      - `enabled` boolean, required
      - `calendar` 'everyone' | 'members' | 'off'
    - `conflictingMemberCount` integer, required
  - `canEdit` boolean, required

## Other responses

- `400`: The model is not one the runner serves, members' agents aren't on for this organization, or the request was invalid.
- `401`: Authentication required.
- `403`: The caller lacks the Manage OpenWork Models permission or needs to sign in again.
- `404`: The organization or team was not found, or Workbot settings per team are off.
- `503`: The headless runner could not be reached to check the model.

## Changes

- **2026-11-11** `1da447287f26`: 2 info
  - added the optional property `organization/agentCalendar` to the response with the `200` status
  - added the optional property `teams/items/agent/calendar` to the response with the `200` status
- **2026-11-11** `7b36e7ae6ac3`: 3 warning
  - removed the request property `maxSteps`
  - removed the optional property `organization/maxSteps` from the response with the `200` status
  - removed the optional property `teams/items/maxSteps` from the response with the `200` status
- **2026-11-10** `02023e0242a2`: 3 info
  - added the new optional request property `agent`
  - added the optional property `organization/agentEnabled` to the response with the `200` status
  - added the optional property `teams/items/agent` to the response with the `200` status
- **2026-11-10** `3ee5ac1874f6`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/openworklabs/apis/den-api/changes/v1/org/workbot-settings/teams/:teamId/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/84fb0f99fb95?raw)
