API SpecificationOAuth Clients
Upload Client Logo
Uploads a logo image for an OAuth client. Supported formats: PNG, JPEG, WebP, GIF. Maximum size: 2MB, 512x512 pixels.
Required scopes: oauth:clients:manage
AuthorizationBearer <token>
JWT access token obtained via OAuth2 flow or service account
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
clientId?string
Unique identifier for the OAuth Client
Format
uuidlogoData?string
The logo image data (max 2MB, 512x512) bytes.const = []
Format
byteLength
length <= 2097152contentType?string
MIME type of the logo (image/png, image/jpeg, image/webp, image/gif)
Value in
"image/png" | "image/jpeg" | "image/webp" | "image/gif"[key: string]?never
Response Body
application/json
application/json
curl -X POST "https://auth.xeonr.io/xeonr.auth.api.v1.ClientsService/UploadClientLogo" \ -H "Connect-Protocol-Version: 1" \ -H "Content-Type: application/json" \ -d '{}'{
"logoUrl": "https://cdn.example.com/logos/550e8400-e29b-41d4-a716-446655440000.png"
}{
"code": "not_found",
"message": "string",
"details": [
{
"type": "string",
"value": "string",
"debug": {}
}
]
}