Create brand

Creates the brand properties for the specified account.
POST
/accounts/{accountID}/branding
cURL
curl --request POST \
  --url https://api.moov.io/accounts/{accountID}/branding \
  --header 'content-type: application/json' \
  --data '{"colors":{"light":{"accent":"#111111"},"dark":{"accent":"#ffffff"}}}'
200 403 404 422 429
Branding created.
{
  "colors": {
    "dark": {
      "accent": "#ffffff"
    },
    "light": {
      "accent": "#111111"
    }
  }
}
The user is not authorized to make the request.
Request received, but resource was not found.
The parameters provided are not processable.
Request was refused due to rate limiting.

Retry-After

number

Path parameters

accountID

string <uuid> required
ID of the account.

Body

application/json

colors

object required
right_key Show child attributes

dark

object required
right_key Show child attributes

accent

string required
A CSS hex color representing the accent color for use in dark mode.

light

object required
right_key Show child attributes

accent

string required
A CSS hex color representing the accent color for use in light mode.

Response

application/json

colors

object required
right_key Show child attributes

dark

object required
right_key Show child attributes

accent

string required
A CSS hex color representing the accent color for use in dark mode.

light

object required
right_key Show child attributes

accent

string required
A CSS hex color representing the accent color for use in light mode.