Skip to main content
PATCH
Update an organization style preset

Authorizations

Authorization
string
header
required

Short-lived, Developer-API-audience token obtained by the trusted MCP service through token exchange (mcp_at_...). Raw MCP resource tokens are rejected.

Path Parameters

styleId
string
required

Body

application/json
name
string
Example:

"Corporate Blue – revised"

description
string
Example:

"Updated company branding style"

definition
object

Reusable style definition. Supports all Defaults fields and may include an optional document object for page defaults such as size, margins, and orientation.

isDefault
boolean

Whether this is the default style preset for the organization. Organization management permission is required.

Example:

true

Response

200 - application/json
id
string
required
Example:

"550e8400-e29b-41d4-a716-446655440000"

userId
string
required
Example:

"550e8400-e29b-41d4-a716-446655440000"

name
string
required
Example:

"Corporate Blue"

definition
object
required

Reusable style definition. Supports all Defaults fields and may include an optional document object for page defaults such as size, margins, and orientation.

isDefault
boolean
required
Example:

false

version
number
required
Example:

1

createdAt
string<date-time>
required
Example:

"2024-01-01T00:00:00.000Z"

updatedAt
string<date-time>
required
Example:

"2024-01-01T00:00:00.000Z"

orgId
string | null
Example:

"550e8400-e29b-41d4-a716-446655440000"

description
string | null
Example:

"Company branding style"