---
title: "Set Organization theme default and lock"
method: PUT
path: "/theme-settings/organization"
tags: ["Organization Themes"]
---

# Set Organization theme default and lock

`PUT /theme-settings/organization`

## Request

- Base URL: `https://app.openpo.st/api/v1`
- URL: `https://app.openpo.st/api/v1/theme-settings/organization`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `openpost_session`

## Request body

- UpdateOrganizationThemeSettingsInputBody
  - `$schema` string, uri: A URL to the JSON Schema for this object.
  - `assignments_locked` boolean, required: Force every Workspace to inherit the Organization default
  - `default_reference` ThemeReference, required
    - `id` string, required
    - `kind` 'built_in' | 'custom', required
    - `version` integer, required
  - `organization_id` string, required: Organization ID

## Response `200`

OK

- OrganizationThemeSettings
  - `$schema` string, uri: A URL to the JSON Schema for this object.
  - `assignments_locked` boolean, required
  - `default_reference` ThemeReference, required
    - `id` string, required
    - `kind` 'built_in' | 'custom', required
    - `version` integer, required
  - `organization_id` string, required

## Other responses

- `400`: Bad Request
- `403`: Forbidden
- `404`: Not Found
- `422`: Unprocessable Entity
- `500`: Internal Server Error
- `503`: Service Unavailable

---

[API](https://skmtc.dev/openpo/apis/openpost-api.md) · [All operations](https://skmtc.dev/openpo/apis/openpost-api/llms.txt) · [OpenAPI document](https://skmtc.dev/openpo/apis/openpost-api/revisions/67d3964458a7?raw)
