---
title: "Upload organization logo"
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.cloudraker.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Upload organization logo

Path: CloudRaker Workspace API › Organization Settings

`PUT /organization/logo`

Uploads (and replaces) the organization logo. The request body is the raw image bytes (not JSON or multipart); the `content-type` header must be a supported image type and the size must be within the documented limit. Authorization: organization administrators only. Returns 400 on an invalid image, 413 if too large, or 415 on an unsupported content type.

## Authentication

- `bearerAuth`, http, header `Authorization`

## Request body (image/jpeg)

_Required._

Raw image bytes. The `content-type` header must be a supported image type.

## Request body (image/png)

## Request body (image/svg+xml)

## Request body (image/webp)

## Code samples

### cURL

```bash
curl --request PUT \
  --url https://api.cloudraker.com/organization/logo \
  --header 'Authorization: Bearer <token>'
```

### TypeScript

```typescript
const url = 'https://api.cloudraker.com/organization/logo';
const options = {method: 'PUT', headers: {Authorization: 'Bearer <token>'}};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error(err));
```

### Python

```python
import requests

url = "https://api.cloudraker.com/organization/logo"

headers = {"Authorization": "Bearer <token>"}

response = requests.put(url, headers=headers)

print(response.text)
```

## Responses

### 200

The updated logo URL.

#### Example

```json
{
  "logoUrl": "string"
}
```

- `logoUrl` (`updateOrganizationLogo.response.200.logoUrl`; string | null, required) — URL of the logo's binary content (`/organization-logos/{orgId}/content`), or null when unset.


Source: https://docs.cloudraker.com/workspace/api/organization-settings/update-organization-logo/index.md
