Update record theme settings
Set or unset the theme settings of a single Organization document, validated against that document's template (the collection default when none is selected). Requires draft: true and ifUpdatedAt in the request body. Rate limit: 20 requests per minute per API key.
Authorization
apiKey Authorization<token>
Use format: users API-Key YOUR_API_KEY
In: header
Path Parameters
version*string
API version
Default
"2026-02"Value in
"2026-02"tenant*string
Tenant slug
id*string
Organization ID
Query Parameters
locale?string
Locale to mutate. Operates strictly on this locale with no fallback, so other locales are untouched.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X PATCH "https://api.basker.app/partners/2026-02/string/organizations/string/theme-settings" \ -H "Content-Type: application/json" \ -d '{ "draft": true, "ifUpdatedAt": "2019-08-24T14:15:22Z" }'{
"versionTarget": "draft",
"set": [
"string"
],
"unset": [
"string"
],
"document": {}
}{
"error": "string",
"message": "string"
}{
"error": "string",
"message": "string"
}{
"error": "string",
"message": "string"
}{
"error": "string",
"message": "string"
}{
"error": "Too Many Requests",
"message": "Rate limit exceeded. Please retry later."
}