Skip to main content
PATCH
/
api
/
client
/
v2
/
style
/
{id}
Update Style
curl --request PATCH \
  --url https://prod-nginx-v2.goextrovert.com/webgateway/api/client/v2/style/{id} \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "isLearningModeEnabled": true,
  "styleInstructionsForComments": "<string>",
  "styleInstructionsForDm": "<string>"
}
'
{
  "status": "success",
  "data": null,
  "message": "Operation completed successfully"
}

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"