---
title: "Updates the organization's logo"
method: POST
path: "/api/organization/update-logo"
tags: ["Organization"]
---

# Updates the organization's logo

`POST /api/organization/update-logo`

## Request

- Base URL: `https://passivelogic.com` (the document declares no server; this is the origin it was published from)
- URL: `https://passivelogic.com/api/organization/update-logo`
- Auth: one of:
  - API key in header `X-PL-AUTH`
  - API key in header `Authorization: PL-API-KEY`
  - API key in header `PL-API-KEY`
  - HTTP basic
- TypeScript: <https://skmtc.dev/passivelogic/apis/passivelogic-http-api/docs/api/organization/update-logo/post.ts> (a function with typed inputs; its response is checked against the schema)

Verifies that the user making the request has sufficient permissions to change the logo for the organization.
Takes in a new image as the organization's logo. Creates or replaces the previous stored logo.

## Request body

- OrganizationImageData: Data required to upload a organization image
  - `image` string, byte, required: File data to write to the server. Must be Base64-encoded if sending as JSON.
  - `organizationID` string, uuid, required: The organization that is associated with this image request.
  - `fileType` string, required: The type of file the given data represents, from a list of allowed files

## Response `200`

OK

- ImageUploadResponse: Image response definition
  - `message` string, required: Informative message relating to image upload. Updated image url with cache bust.
  - `url` string, nullable

---

[API](https://skmtc.dev/passivelogic/apis/passivelogic-http-api.md) - [All operations](https://skmtc.dev/passivelogic/apis/passivelogic-http-api/llms.txt) - [OpenAPI document](https://skmtc.dev/passivelogic/apis/passivelogic-http-api/revisions/28fce63bcdbb?raw)
