API SpecificationPRIVATExeonr.auth.private.v1.BrandingService
Update Brand Profile
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 in
1Connect-Timeout-Ms?number
Define the timeout, in ms
Request Body
application/json
brandProfileId?string
name?string|null
Length
1 <= length <= 128primaryColor?string|null
Length
length <= 16gradientColors?gradient_colors
headline?string|null
Length
length <= 80subtitle?string|null
Length
length <= 160updateMask?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": {}
}
]
}