curl --location --request PATCH 'https://sux.chatsight.ai/api/properties/settings' \
--header 'Authorization: Bearer <API_KEY>' \
--header 'Content-Type: application/json' \
--data-raw '{
"patches":[
{
"key":"@property/name",
"value":"Pizza HQ",
"target":"D#123872839284090200"
},
{
"key":"@property/discord/feature.verify",
"value":true,
"target":"D#123872839284090200"
}
]
}'
Request Body
Key | Type | Values | Description |
---|---|---|---|
patches | Array | Objects | An Array of Objects. |
patches[n].key | String | Any | The name of the key to update. |
patches[n].value | String, Boolean, Number | Any | The value of the referenced key to update. |
patches[n].target | String | <property_id> | The property ID to target the update. |