OrganizationsCompanies
Set a company logo
PUT
The second step: points it at the uploaded file and deletes the one it replaces. A file over 2 MiB or not PNG, JPEG or WebP is deleted and refused.
Who may call it: An owner, security admin or admin of the organization. API keys: no.
sessioncookie
gamma.session_token<token>The session cookie a sign-in sets. Over HTTPS its name carries the __Secure- prefix. Browsers send it on their own; other clients keep it from the sign-in response.
slug*stringThe organization's slug, as in its URL.
companyId*stringapplication/json- body
key*stringThe key the upload was signed for.
Length
1 <= length <= 500OK.
application/json- response
url*|The picture's public URL, to render as is; null once removed.
Example Request
curl -X PUT 'http://localhost:3000/api/organizations/string/companies/string/logo' \ -H 'Content-Type: application/json' \ -d '{ "key": "string"}'Example Response
{ "url": "string"}