Update brand

Updates the brand properties for the specified account.
PATCH
/accounts/{accountID}/branding
cURL
curl --request PATCH \
  --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 updated.
{
  "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
right_key Show child attributes

accent

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

light

object
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.