Skip to main content
PUT
Set a vault's image
The body is the image itself. See How it works for what a vault is. Sets the image drawn for a vault, replacing the one it had: on a vault you may manage, or on your personal vault. The body is the image itself: a PNG, JPEG, WebP or GIF of at most 1 MB, told by its bytes. SVG is refused. Signed in only.
Availability: OneCLI Cloud and self-hosted.Who can call: Any member of the organization, with a signed-in session only. A managing key is refused with 403 and the detail session_required.

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

The vault's id.

Required string length: 1 - 64

Body

The body is of type file.

Response

The new image.

logoUrl
string
required

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