Skip to main content
PUT
cURL

Headers

X-CSRF-Token
string
required

Echoes the token from the current session. Required on every unsafe method.

Path Parameters

kind
enum<string>
required
Available options:
logo_light,
logo_dark,
favicon

Body

image/*

One PNG, JPEG, or WebP image. The exact type is declared in the Content-Type header and must match the bytes themselves; the media type range here is what lets one request body carry any of the three.

The body is of type file.

Response

Saved

kind
enum<string>
required
Available options:
logo_light,
logo_dark,
favicon
contentType
enum<string>
required
Available options:
image/png,
image/jpeg,
image/webp
byteSize
integer<int64>
required
checksum
string
required

SHA-256 of the bytes, hex encoded. Published as the ETag of the asset.

updatedAt
string<date-time>
required
updatedBy
string<uuid>