Create or replace brand
PUT
/accounts/{accountID}/branding
curl --request PUT \
--url https://api.moov.io/accounts/{accountID}/branding \
--header 'content-type: application/json' \
--data '{"colors":{"dark":{"accent":"#111111"},"light":{"accent":"#111111"}}}'
Branding created or replaced.
{
"colors": {
"dark": {
"accent": "#111111"
},
"light": {
"accent": "#111111"
}
}
}
The user is not authorized to make the request.
Request received, but resource was not found.
Errors were found in the request body.
{
"colors": {
"dark": {
"accent": "string"
},
"light": {
"accent": "string"
}
}
}
Request was refused due to rate limiting.
Response headers
Retry-After
number
Path parameters
accountID
string
<uuid>
required
ID of the account.
Body
application/json
colors
object
required
Brand colors for light and dark modes.
Show child attributes
dark
object
required
Show child attributes
accent
string
required
A CSS hex color representing an accent color.
light
object
required
Show child attributes
accent
string
required
A CSS hex color representing an accent color.
Response
application/json
colors
object
required
Brand colors for light and dark modes.
Show child attributes
dark
object
required
Show child attributes
accent
string
required
A CSS hex color representing an accent color.
light
object
required
Show child attributes
accent
string
required
A CSS hex color representing an accent color.