Set the organisation logo
Admin only. Points the organisation settings at a logo that was already uploaded to storage. The key sits under the branding prefix at 2 MB or less, and a missing settings row is created.
PUT
/api/v1/images/branding/logoAuthorization
AuthorizationBearer token (JWT) · headerrequiredJWT from POST /api/v1/auth/login sent as Authorization Bearer.
Request body
requiredapplication/jsonimage_keystringrequiredmin length 1
Responses
200
The logo key and its public URL
logo_keystringrequiredlogo_urlstringrequired400
The image key is not under the branding prefix, or the upload is missing or larger than 2 MB
detailstringrequired401
Not authenticated
detailstringrequired403
Caller is not an admin
detailstringrequired500
Image storage is unavailable
detailstringrequired