API SpecificationPRIVATExeonr.auth.private.v1.BrandingService
Create Brand Profile
Creates a new brand profile. Upload its logo and background images separately with UploadBrandProfileImage.
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
name?string
Length
1 <= length <= 128primaryColor?string
Length
length <= 16gradientColors?gradient_colors
headline?string
Length
length <= 80subtitle?string
Length
length <= 160[key: string]?never
Response Body
application/json
application/json
curl -X POST "https://auth.xeonr.io/xeonr.auth.private.v1.BrandingService/CreateBrandProfile" \ -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": {}
}
]
}xeonr.auth.private.v1.BrandingService
Manages an organisation's brand profiles (the list of branded sign-in flows that application clients can select). Organisation administrators only.
Delete Brand Profile POST
Deletes a brand profile. Clients referencing it fall back to the organisation's default branding.