The tenant's brand kits, without their items
GET
/v1/brandkits
const url = 'https://example.com/v1/brandkits';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/v1/brandkits \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”The answer.
Media typeapplication/json
Array<object>
object
id
required
string
name
required
string
description
required
string
revision
required
integer
counts
required
object
swatches
integer
paragraphStyles
integer
characterStyles
integer
images
integer
components
integer
fonts
integer
updatedAt
required
string
updatedBy
required
string
Example generated
[ { "id": "example", "name": "example", "description": "example", "revision": 1, "counts": { "swatches": 1, "paragraphStyles": 1, "characterStyles": 1, "images": 1, "components": 1, "fonts": 1 }, "updatedAt": "example", "updatedBy": "example" }]No key, or not a valid one.
Media typeapplication/json
object
code
required
string
message
required
string
requestId
string
Example
{ "code": "field-unknown"}The key lacks the scope, or its tenant is suspended or deleted.
Media typeapplication/json
object
code
required
string
message
required
string
requestId
string
Example
{ "code": "field-unknown"}