putty
API ReferenceArtifacts

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.

PATCH
/brand/kits/{kitId}

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

kitId*string

The brand kit id.

Length1 <= length <= 64

Request 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"}