Set Client Logo

PUT /tenants/{tenant}/clients/{code}/logo

Replaces the client's logo with the uploaded image (multipart/form-data, field 'file': PNG, JPEG or SVG up to 2 MB). The image is stored at a public web address, returned as logoUrl, and shared with the other Sodium products through the Party Service. Returns the updated client. Refused with a 400 when client logos are turned off in client settings.

Requires: Update on Clients.

Parameters

NameTypeDescription
tenant* path string

The Tenant.Code

The Tenant.Code

code* path string

Request Body*

multipart/form-data •
{
  "file": "string"
}

Responses

200 OK
400 Bad Request
401 Unauthorized – Invalid or missing API key
403 Forbidden – the caller lacks the permissions this endpoint requires; the detail lists every one missing
application/problem+json
404 Not Found