Palettes
Replace the brand palette state
Bulk-replace operation. The request body becomes the authoritative palette + gradient state for the caller’s organisation. Palettes, gradient palettes, and settings absent from the body are deleted. Response includes the resulting palette list and settings; gradient palettes are not yet projected in the response and will land alongside the dedicated /brand_gradient_palettes resource.
Authorization
ApiKey AuthorizationBearer <token>
Bearer API key. Brand Governance endpoints require brand:read or brand:write (plus narrower writes for specific resources).
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X PUT "https://example.com/brand_palettes" \ -H "Content-Type: application/json" \ -d '{ "palettes": [ { "name": "string", "colors": [ { "hex": "string" } ] } ], "settings": { "allow_neutral_greys": true } }'{ "object": "brand_palette_state", "palettes": [ { "id": "string", "object": "brand_palette", "organization": "string", "name": "string", "sort_order": 0, "allow_brand_shades": true, "colors": [ { "id": "string", "name": "string", "hex": "string", "sort_order": 0 } ], "created": "2019-08-24T14:15:22Z", "updated": "2019-08-24T14:15:22Z" } ], "settings": { "allow_neutral_greys": true }}{ "error": {}}