PUT
/
v4
/
account
/
colors
curl --request PUT \
  --url https://api.kit.com/v4/account/colors \
  --header 'Content-Type: application/json' \
  --header 'X-Kit-Api-Key: <api-key>' \
  --data '{
  "colors": [
    "#000000",
    "#ffffff"
  ]
}'
{
  "colors": [
    "#000000",
    "#ffffff"
  ]
}

Authorizations

X-Kit-Api-Key
string
header
required

Authenticate API requests via an API Key

Body

application/json

Response

200
application/json

Updates and returns list of colors for the current account

The response is of type object.