Create a branding logo upload URL
Admin only. Returns a presigned URL the console PUTs an organisation logo to. The key sits under the branding prefix and allows JPEG, PNG, or WebP logos of 2 MB or less.
POST
/api/v1/images/branding/upload-urlAuthorization
AuthorizationBearer token (JWT) · headerrequiredJWT from POST /api/v1/auth/login sent as Authorization Bearer.
Request body
requiredapplication/jsoncontent_typestringrequiredmin length 1
size_bytesintegerrequiredmax 9007199254740991
Responses
200
The presigned upload and the key it targets
keystringrequireduploadUrlstringrequiredpublicUrlstringrequired400
The size is not a positive whole number, the content type is not JPEG, PNG, or WebP, or the logo is more than 2 MB
detailstringrequired401
Not authenticated
detailstringrequired403
Caller is not an admin
detailstringrequired500
Image storage is not configured
detailstringrequired