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

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

`POST /spaces/{spaceId}/logo/icon`

## Path parameters

- `spaceId` string, required

## Request body

- ModifySpaceIconCommand
  - `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 to change logo for. Example: 'Space-1'

## Response `200`

Confirmation that the Space Icon has been modified

- ModifySpaceIconResponse

## 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.net/octopus/apis/octopus-server-api.md) · [All operations](https://skmtc.net/octopus/apis/octopus-server-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/octopus/octopus-server-api/revisions/b296c3a60aa5/schema)
