Skip to main content
PUT
Update Rule Styles

Authorizations

Authorization
string
header
required

Okta access-token JWT sent as a Bearer token. The token identifies the user and scopes access to the user's organization.

Path Parameters

template_id
string
required

UUID of template (for authorization)

rule_id
string
required

UUID of rule to update

Body

application/json
style_names
string[] | null

List of style names to apply (e.g., ['Heading 2', 'Normal'])

fill
string | null

Background fill color hex (e.g., '#FFFF00') or null to remove

color
string | null

Text/font color hex (e.g., '#FF0000') or null to remove

Response

Rule styles updated successfully

rule_id
string
required

UUID of the updated rule

styles
object
required

Updated styles object

updated
boolean
default:true
required

Whether the update was successful