---
title: "Modify the logo of a tenant to be a specified icon"
method: POST
path: "/{spaceId}/tenants/{tenantId}/logo/icon"
tags: ["Icons"]
---

# Modify the logo of a tenant to be a specified icon

`POST /{spaceId}/tenants/{tenantId}/logo/icon`

## Request

- Base URL: `https://demo.octopus.app/api`
- URL: `https://demo.octopus.app/api/{spaceId}/tenants/{tenantId}/logo/icon`
- Auth: one of:
  - API key in header `X-Octopus-ApiKey`
  - API key in query parameter `ApiKey`
  - API key in header `X-NuGet-ApiKey`

## Path parameters

- `spaceId` string, required
- `tenantId` string, required

## Request body

- ModifyTenantIconCommand
  - `IconColor` string, required: Color of the icon in hex format. Example: '#0D80D8'
  - `IconId` string, required: ID of the icon. Example: 'octopus-deploy'
  - `SpaceId` string, required: The ID of the space containing the resource(s).
  - `TenantId` string, required: The ID of the tenant to change logo for. Example: 'Tenants-1'

## Response `200`

Confirmation that the Tenant Icon has been modified

- ModifyTenantIconResponse

## Other responses

- `400`: Bad request. Either the payload was not structurally valid or business rules did not permit the operation.
- `404`: Not found. One or more of the entities involved in the operation was not found.

---

[API](https://skmtc.dev/octopus/apis/octopus-server-api.md) - [All operations](https://skmtc.dev/octopus/apis/octopus-server-api/llms.txt) - [OpenAPI document](https://skmtc.dev/octopus/apis/octopus-server-api/revisions/fe937c07da34?raw)
