Xeonr Developer Docs

Update Brand Profile

POST
/xeonr.auth.private.v1.BrandingService/UpdateBrandProfile

Updates a brand profile's name, colour, or gradient. Use update_mask to control which fields change.

Authorization

BearerAuth
AuthorizationBearer <token>

JWT access token for internal API access. Requires 'private' scope for most endpoints, 'admin' scope for administrative operations.

In: header

Header Parameters

Connect-Protocol-Version*number

Define the version of the Connect protocol

Value in1
Connect-Timeout-Ms?number

Define the timeout, in ms

Request Body

application/json

brandProfileId?string
name?string|null
Length1 <= length <= 128
primaryColor?string|null
Lengthlength <= 16
gradientColors?gradient_colors
headline?string|null
Lengthlength <= 80
subtitle?string|null
Lengthlength <= 160
updateMask?string

Fields to update. If omitted, all set fields are applied. Include "gradient_colors" to sync the gradient (empty array clears it).

[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://auth.xeonr.io/xeonr.auth.private.v1.BrandingService/UpdateBrandProfile" \  -H "Connect-Protocol-Version: 1" \  -H "Content-Type: application/json" \  -d '{}'
{
  "profile": {
    "id": "brand_a1b2c3d4",
    "name": "Acme",
    "primaryColor": "#4F46E5",
    "gradientColors": [
      "#6366F1",
      "#4F46E5"
    ],
    "logoUrl": "string",
    "bgImageDarkUrl": "string",
    "bgImageLightUrl": "string",
    "iacManaged": true,
    "headline": "Sign in to Acme",
    "subtitle": "Pick up where you left off"
  }
}
{
  "code": "not_found",
  "message": "string",
  "details": [
    {
      "type": "string",
      "value": "string",
      "debug": {}
    }
  ]
}