Edit a brand kit
Patches one brand kit the caller owns. The merged result is re-checked against WCAG AA even when the patch does not touch the palette, so a kit can never be left in a state the create path would have refused.
Patches one brand kit the caller owns. The merged result is re-checked against WCAG AA even when the patch does not touch the palette, so a kit can never be left in a state the create path would have refused.
Path Parameters
The brand kit id.
1 <= length <= 64Request Body
application/json
The fields to change. At least one is required.
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://example.com/brand/kits/string" \ -H "Content-Type: application/json" \ -d '{}'{ "id": "string", "name": "string", "tagline": "string", "voice": [ "string" ], "palette": { "primary": "string", "primaryForeground": "string", "secondary": "string", "secondaryForeground": "string", "accent": "string", "accentForeground": "string", "background": "string", "foreground": "string", "muted": "string", "border": "string", "destructive": "string" }, "fonts": { "heading": { "family": "string", "weights": [ 100 ] }, "body": { "family": "string", "weights": [ 100 ] } }, "logoAssetIds": [ "string" ], "contrast": { "passes": true, "pairs": [ { "foreground": "string", "background": "string", "ratio": 0, "level": "aa", "message": "string" } ], "failures": [ { "foreground": "string", "background": "string", "ratio": 0, "level": "aa", "message": "string" } ] }, "createdAt": "string", "updatedAt": "string"}Read a brand kit GET
Returns one brand kit. A kit owned by another user answers with the same 404 as a kit that does not exist.
Delete a brand kit DELETE
Deletes a brand kit the caller owns. A kit owned by another user answers with the same 404 as a kit that does not exist. Projects that referenced the kit keep their files; only the stored kit is removed.