Update a custom link
curl --request POST \
--url https://api.trycomp.ai/v1/trust-portal/custom-links/{linkId} \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"title": "<string>",
"description": "<string>",
"url": "<string>",
"isActive": true
}
'const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({title: '<string>', description: '<string>', url: '<string>', isActive: true})
};
fetch('https://api.trycomp.ai/v1/trust-portal/custom-links/{linkId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.trycomp.ai/v1/trust-portal/custom-links/{linkId}"
payload = {
"title": "<string>",
"description": "<string>",
"url": "<string>",
"isActive": True
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)Trust Portal
Update a custom link | Comp AI API
Update a custom link in Comp AI. Configure the live Trust Center, custom domain, public overview, FAQs, compliance resources, documents, links, and vendor.
POST
/
v1
/
trust-portal
/
custom-links
/
{linkId}
Update a custom link
curl --request POST \
--url https://api.trycomp.ai/v1/trust-portal/custom-links/{linkId} \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"title": "<string>",
"description": "<string>",
"url": "<string>",
"isActive": true
}
'const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({title: '<string>', description: '<string>', url: '<string>', isActive: true})
};
fetch('https://api.trycomp.ai/v1/trust-portal/custom-links/{linkId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.trycomp.ai/v1/trust-portal/custom-links/{linkId}"
payload = {
"title": "<string>",
"description": "<string>",
"url": "<string>",
"isActive": True
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)Authorizations
API key for authentication
Path Parameters
Body
application/json
Fields to change on the custom link
Response
200
Custom link updated successfully
Was this page helpful?

