Create or replace brand

Creates or replaces the brand properties for the specified account.
PUT
/accounts/{accountID}/branding
cURL
curl --request PUT \
  --url https://api.moov.io/accounts/{accountID}/branding \
  --header 'content-type: application/json' \
  --data '{"colors":{"dark":{"accent":"#111111"},"light":{"accent":"#111111"}}}'
200 403 404 422 429
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.

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.