Create a brand kit version
POST/accounts/:accountResourceId/brands/:resourceId/versions
Adds a version to a brand kit from data and makes it the one in effect, numbered one above the highest version the brand kit has. data replaces the previous version wholesale rather than merging into it, so read the current version first and post the whole document back — a field omitted here is absent from the new version, not inherited. systemPages is the exception: leaving it out keeps the setup of the previous version, a role kept from the previous version on a token this version no longer contains takes its default token (once any role has taken its default, a setup in which text or button shares a token with background, or button text with button, is replaced by the default mapping), and a version with fewer than two live colours or gradients has none. Earlier versions are kept and stay readable. An archived brand kit accepts no new versions. Responds 400 when the body fails validation, 401 when the API key is missing, invalid, or revoked, 429 when the key exceeds its rate-limit allowance, and 404 when the account does not exist, the brand kit does not exist or is archived, or the caller cannot manage the brand kits on this account.
Request
Responses
- 201
- 400
- 401
- 404
- 429