Skip to main content
PATCH
Update Style

Authorizations

X-API-Key
string
header
required

API Key for authentication

Path Parameters

id
string
required

Body

application/json
id
string<uuid>
required

ID of the Style to update.

name
string
required

New Style name.

Minimum string length: 1
isLearningModeEnabled
boolean
required

New learning-mode flag value. See the isLearningModeEnabled field on create for semantics.

styleInstructionsForComments
string

New plain-text instructions for comment generation. Omit to keep the current value; pass an empty string to clear.

styleInstructionsForDm
string

New plain-text instructions for DM generation. Omit to keep the current value; pass an empty string to clear.

Response

status
enum<string>
required

Response status

Available options:
success
data
any | null
required

No response payload

Available options:
null
Example:

null

message
string
required

Success message

Example:

"Operation completed successfully"