/v1/workspace/logoUpload the workspace logo
Declare a new branding logo as {"contentType", "sizeBytes"} — a PNG, JPEG, SVG or WebP image up to 5MB — and get back its row, a signed uploadUrl good for 15 minutes for the bytes, and the public url that serves them once uploaded. The logo becomes the workspace's mark only when that url is saved into the setting:general workspace preference as logo_url. Admin only. Answers 503 when this deployment has no file storage or no public base URL, rather than an address that would not work.
Access class: workspace:admin.
Send request
Use the documented inputs to call this endpoint directly.
Request body
application/jsonrequiredResponses
the action's answer
{
"data": {
"contentType": "string",
"createdAt": "string",
"id": "",
"sizeBytes": 1.5
},
"uploadUrl": "string",
"url": "string"
}a refusal: {"error": "<what a person needs to read>"}. 401 no credential, 402 the plan does not include this, 403 the seat does not, 404 the thing does not exist or is not yours to see.
{
"error": "string"
}