Remove an MCP server's uploaded logo
curl --request DELETE \
--url https://api.smith.langchain.com/v1/managed-tools/servers/{id}/icon \
--header 'X-Api-Key: <api-key>' \
--header 'X-Tenant-Id: <api-key>'import requests
url = "https://api.smith.langchain.com/v1/managed-tools/servers/{id}/icon"
headers = {
"X-Api-Key": "<api-key>",
"X-Tenant-Id": "<api-key>"
}
response = requests.delete(url, headers=headers)
print(response.text)const options = {
method: 'DELETE',
headers: {'X-Api-Key': '<api-key>', 'X-Tenant-Id': '<api-key>'}
};
fetch('https://api.smith.langchain.com/v1/managed-tools/servers/{id}/icon', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.smith.langchain.com/v1/managed-tools/servers/{id}/icon",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "DELETE",
CURLOPT_HTTPHEADER => [
"X-Api-Key: <api-key>",
"X-Tenant-Id: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.smith.langchain.com/v1/managed-tools/servers/{id}/icon"
req, _ := http.NewRequest("DELETE", url, nil)
req.Header.Add("X-Api-Key", "<api-key>")
req.Header.Add("X-Tenant-Id", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.delete("https://api.smith.langchain.com/v1/managed-tools/servers/{id}/icon")
.header("X-Api-Key", "<api-key>")
.header("X-Tenant-Id", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.smith.langchain.com/v1/managed-tools/servers/{id}/icon")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Delete.new(url)
request["X-Api-Key"] = '<api-key>'
request["X-Tenant-Id"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"status": 123,
"title": "<string>",
"type": "<string>",
"code": "<string>",
"detail": "<string>",
"instance": "<string>",
"kits": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>"
}
],
"permission": "<string>",
"remedy": "<string>"
}{
"status": 123,
"title": "<string>",
"type": "<string>",
"code": "<string>",
"detail": "<string>",
"instance": "<string>",
"kits": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>"
}
],
"permission": "<string>",
"remedy": "<string>"
}{
"status": 123,
"title": "<string>",
"type": "<string>",
"code": "<string>",
"detail": "<string>",
"instance": "<string>",
"kits": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>"
}
],
"permission": "<string>",
"remedy": "<string>"
}{
"status": 123,
"title": "<string>",
"type": "<string>",
"code": "<string>",
"detail": "<string>",
"instance": "<string>",
"kits": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>"
}
],
"permission": "<string>",
"remedy": "<string>"
}Remove an MCP server's uploaded logo
Removes the logo a workspace member uploaded, so the server’s advertised icon, if any, is shown again. Requires the same access as deleting the server.
DELETE
/
v1
/
managed-tools
/
servers
/
{id}
/
icon
Remove an MCP server's uploaded logo
curl --request DELETE \
--url https://api.smith.langchain.com/v1/managed-tools/servers/{id}/icon \
--header 'X-Api-Key: <api-key>' \
--header 'X-Tenant-Id: <api-key>'import requests
url = "https://api.smith.langchain.com/v1/managed-tools/servers/{id}/icon"
headers = {
"X-Api-Key": "<api-key>",
"X-Tenant-Id": "<api-key>"
}
response = requests.delete(url, headers=headers)
print(response.text)const options = {
method: 'DELETE',
headers: {'X-Api-Key': '<api-key>', 'X-Tenant-Id': '<api-key>'}
};
fetch('https://api.smith.langchain.com/v1/managed-tools/servers/{id}/icon', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.smith.langchain.com/v1/managed-tools/servers/{id}/icon",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "DELETE",
CURLOPT_HTTPHEADER => [
"X-Api-Key: <api-key>",
"X-Tenant-Id: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.smith.langchain.com/v1/managed-tools/servers/{id}/icon"
req, _ := http.NewRequest("DELETE", url, nil)
req.Header.Add("X-Api-Key", "<api-key>")
req.Header.Add("X-Tenant-Id", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.delete("https://api.smith.langchain.com/v1/managed-tools/servers/{id}/icon")
.header("X-Api-Key", "<api-key>")
.header("X-Tenant-Id", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.smith.langchain.com/v1/managed-tools/servers/{id}/icon")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Delete.new(url)
request["X-Api-Key"] = '<api-key>'
request["X-Tenant-Id"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"status": 123,
"title": "<string>",
"type": "<string>",
"code": "<string>",
"detail": "<string>",
"instance": "<string>",
"kits": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>"
}
],
"permission": "<string>",
"remedy": "<string>"
}{
"status": 123,
"title": "<string>",
"type": "<string>",
"code": "<string>",
"detail": "<string>",
"instance": "<string>",
"kits": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>"
}
],
"permission": "<string>",
"remedy": "<string>"
}{
"status": 123,
"title": "<string>",
"type": "<string>",
"code": "<string>",
"detail": "<string>",
"instance": "<string>",
"kits": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>"
}
],
"permission": "<string>",
"remedy": "<string>"
}{
"status": 123,
"title": "<string>",
"type": "<string>",
"code": "<string>",
"detail": "<string>",
"instance": "<string>",
"kits": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>"
}
],
"permission": "<string>",
"remedy": "<string>"
}Authorizations
API Key & Tenant IDBearer Auth & Tenant ID
Response
logo removed
Was this page helpful?

