Upload a remote MCP connector logo
/connector/{slug}/logo
Uploads the wordmark for an org-owned remote MCP connector. The body is the raw image (PNG, JPEG or WebP, at most 2 MiB, sniffed from the bytes), not multipart. Returns the connector detail with the new public URL. A new `logo` also moves an `icon` that only mirrored the old logo; an `icon` set on its own is left alone. A picture this upload replaces is deleted, but only one this organization uploaded: a URL set through `PATCH /connector/{slug}` that names someone else's file is never touched. Answers `409` `remote_mcp_only` for any other connector. Needs `edit` access to the connector (the owner, or an `edit` grant), like `PATCH /connector/{slug}`.
Path Parameters
Slug of an org-owned remote MCP connector.
curl -X PUT 'https://api.elaichi.ai/connector/<slug>/logo' \
-H 'Authorization: Bearer $ELAICHI_API_TOKEN' \
-H 'Content-Type: application/json'const response = await fetch('https://api.elaichi.ai/connector/<slug>/logo', {
method: 'PUT',
headers: {
'Authorization': 'Bearer ' + process.env.ELAICHI_API_TOKEN,
'Content-Type': 'application/json',
},
});
const data = await response.json();
console.log(data);import os
import requests
url = "https://api.elaichi.ai/connector/<slug>/logo"
headers = {
"Authorization": f"Bearer {os.environ['ELAICHI_API_TOKEN']}",
"Content-Type": "application/json",
}
response = requests.put(url, headers=headers)
print(response.json())