Re-authorize an existing MCP connection
import requests
url = "https://eu.app.clarifeye.ai/api/v1/users/me/mcp-connections/{id}/reconnect/"
payload = { "redirect_back_to": "<string>" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({redirect_back_to: '<string>'})
};
fetch('https://eu.app.clarifeye.ai/api/v1/users/me/mcp-connections/{id}/reconnect/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request POST \
--url https://eu.app.clarifeye.ai/api/v1/users/me/mcp-connections/{id}/reconnect/ \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"redirect_back_to": "<string>"
}
'{
"authorize_url": "<string>"
}{
"error": "Authentication credentials were not provided."
}{
"error": "Not found."
}External MCP
Re-authorize an existing MCP connection
POST
/
users
/
me
/
mcp-connections
/
{id}
/
reconnect
/
Re-authorize an existing MCP connection
import requests
url = "https://eu.app.clarifeye.ai/api/v1/users/me/mcp-connections/{id}/reconnect/"
payload = { "redirect_back_to": "<string>" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({redirect_back_to: '<string>'})
};
fetch('https://eu.app.clarifeye.ai/api/v1/users/me/mcp-connections/{id}/reconnect/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request POST \
--url https://eu.app.clarifeye.ai/api/v1/users/me/mcp-connections/{id}/reconnect/ \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"redirect_back_to": "<string>"
}
'{
"authorize_url": "<string>"
}{
"error": "Authentication credentials were not provided."
}{
"error": "Not found."
}