Reorder custom links
POST
/v1/trust-portal/custom-links/reorder
const url = 'https://api.varman.io/v1/trust-portal/custom-links/reorder';const options = { method: 'POST', headers: {'X-API-Key': '<X-API-Key>', 'Content-Type': 'application/json'}, body: '{"organizationId":"org_6914cd0e16e4c7dccbb54426","linkIds":["example"]}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.varman.io/v1/trust-portal/custom-links/reorder \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <X-API-Key>' \ --data '{ "organizationId": "org_6914cd0e16e4c7dccbb54426", "linkIds": [ "example" ] }'Reorder custom links in Varman. Configure the live Trust Center, custom domain, public overview, FAQs, compliance resources, documents, links, and vendor disclosures.
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
organizationId
required
Organization that owns the trust portal. Must match the authenticated API key’s organization.
string
Example
org_6914cd0e16e4c7dccbb54426linkIds
required
Custom link IDs in the desired display order.
Array<string>
Responses
Section titled “Responses”Custom links reordered successfully