Skip to main content
PUT
Set the organization's logo
Takes a signed-in session only. A managing key is refused with 403. See the API overview for how a call is scoped to an organization. Sets the logo of the organization this call is scoped to, replacing the one it had. The body is the image itself: a PNG, JPEG, WebP or GIF of at most 1 MB, told by its bytes. SVG is refused. Its owner only, signed in.
Availability: OneCLI Cloud and self-hosted.

Authorizations

Authorization
string
header
required

A managing key (oc_key_...), an older API key (oc_...), or a signed-in session.

Body

The body is of type file.

Response

The new logo.

logoUrl
string
required

The logo's URL, which needs no credential. It changes on every upload.