---
title: "Uploads (or replaces) the icon of a connector by its ID"
method: POST
path: "/connector/{id}/icon"
tags: ["Connector"]
---

# Uploads (or replaces) the icon of a connector by its ID

`POST /connector/{id}/icon`

## Path parameters

- `id` integer, required

## Response `200`

Connector icon has been successfully stored

- ConnectorResource
  - `connectorId` integer
  - `title` string
  - `description` string
  - `icon` string
  - `invoker` InvokerDTO
    - `name` string
    - `description` string
    - `hint` string
    - `icon` string
    - `authType` string
    - `requiredData` object
    - `operations` FunctionDTO[]
      - `name` string
      - `type` string
      - `request` RequestDTO
        - `id` string
        - `endpoint` string
        - `method` string
        - `header` object
        - `body` BodyDTO
          - `type` string
          - `format` string
          - `data` string
          - `fields` object
      - `response` ResponseDTO
        - `id` string
        - `name` string
        - `success` ResultDTO
          - `id` string
          - `status` string
          - `header` object
          - `body` BodyDTO
            - `type` string
            - `format` string
            - `data` string
            - `fields` object
        - `fail` ResultDTO
          - `id` string
          - `status` string
          - `header` object
          - `body` BodyDTO
            - `type` string
            - `format` string
            - `data` string
            - `fields` object
    - `hasManualSync` boolean
  - `sslCert` boolean
  - `timeout` integer
  - `requestData` object
  - `lastTestPassed` boolean
  - `lastTestError` string

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `500` — Internal Error
- `502` — Bad Gateway

---

[API](https://skmtc.net/opencelium/apis/opencelium-api.md) · [All operations](https://skmtc.net/opencelium/apis/opencelium-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/opencelium/opencelium-api/versions/82ed767ffb65/schema)
