Skip to main content
Skip table of contents

Logo update

Logo update

Logo update

POST /api/admin/v1/logos/{logo}

Method parameters

int logo, unique identifier of the logo

binary image, logo image

200 OK

Returns the logo object

    "id": 1,
    "type": "login",
    "title": "Authorization page",
    "description": "Product logo on the web client and administrator login page",
    "url": "",
    "validation": "The image must be no larger than 2MB and be one of the following types: JPEG, BMP, PNG, SVG",
    "version": 1

401 Unauthorized

Authorization token is not provided or is invalid

422 Unprocessable Entity

Returns a JSON object with an error. Validation

    "message": "There will be no informative message here",
    "errors": {
        "any_key": [
            "The reason for the error will be described here"
curl -k --request POST \
	--url 'https://your-domain/api/admin/v1/logos/{logo}' \
	--header 'Content-Type: application/json' \
	--header 'Accept: application/json' \
	--data '{
    "logo": 0,
    "image": "binary"
$data = array (
  'logo' => 0,
  'image' => 'binary',
$context = stream_context_create([
	'ssl'=>['verify_peer' => false],
	'http' => [
		'method' => 'POST',
		'header' => "Content-Type: application/json\r
Accept: application/json",
$result = file_get_contents('https://your-domain/api/admin/v1/logos/{logo}', false, $context);
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.