Upload organization logo

View as Markdown

Uploads (and replaces) the organization’s logo. The raw image bytes are the request body; the content type must be a supported image type and the size within the limit.

Authentication

AuthorizationBearer

WorkOS session JWT or an organization API key, sent as Authorization: Bearer <token>.

Request

The raw logo image bytes (a supported image type, within the size limit).

Response

The updated logo URL.
logoUrlstring or null
URL to the logo's binary content, or null.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
413
Content Too Large Error
415
Unsupported Media Type Error