---
title: "Rename a saved logo"
method: PATCH
path: "/v1/logos/{logo_id}/"
---

# Rename a saved logo

`PATCH /v1/logos/{logo_id}/`

## Request

- Base URL: `https://app.iconik.io/API/files`
- URL: `https://app.iconik.io/API/files/v1/logos/{logo_id}/`
- Auth: none declared. Required headers: `App-ID`, `Auth-Token`
- TypeScript: <https://skmtc.dev/iconik/apis/iconik-files/docs/v1/logos/:logo_id/patch.ts> (a function with typed inputs; its response is checked against the schema)

<br/>Only the name can be changed; the image itself is immutable.<br/>Only the name can be changed; the image itself is immutable.
Required roles:
 - can_write_portals

## Path parameters

- `logo_id` string, required

## Headers

- `App-ID` string, required
- `Auth-Token` string, required

## Request body

- LogoSchema
  - `date_created` string, date-time
  - `date_modified` string, date-time
  - `filename` string
  - `id` string, uuid
  - `name` string, required
  - `storage_id` string, uuid
  - `storage_method` string
  - `system_domain_id` string, uuid
  - `upload_credentials` object
  - `upload_headers` object
  - `upload_method` string
  - `upload_url` string
  - `url` string
  - `user_id` string, uuid

## Response `200`

Returns the updated logo

- LogoSchema
  - `date_created` string, date-time
  - `date_modified` string, date-time
  - `filename` string
  - `id` string, uuid
  - `name` string, required
  - `storage_id` string, uuid
  - `storage_method` string
  - `system_domain_id` string, uuid
  - `upload_credentials` object
  - `upload_headers` object
  - `upload_method` string
  - `upload_url` string
  - `url` string
  - `user_id` string, uuid

## Other responses

- `400`: Bad request
- `401`: Token is invalid
- `404`: Logo doesn't exist
- `default`: Error response

---

[API](https://skmtc.dev/iconik/apis/iconik-files.md) - [All operations](https://skmtc.dev/iconik/apis/iconik-files/llms.txt) - [OpenAPI document](https://skmtc.dev/iconik/apis/iconik-files/revisions/ed57d13791a2?raw)
