curl --request PUT \
--url https://api.qovery.com/organization/{organizationId}/cluster/{clusterId}/routingTable \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"routes": [
{
"destination": "<string>",
"target": "<string>",
"description": "<string>"
}
]
}
'{
"results": [
{
"destination": "<string>",
"target": "<string>",
"description": "<string>"
}
]
}Edit routing table by returning updated table.
curl --request PUT \
--url https://api.qovery.com/organization/{organizationId}/cluster/{clusterId}/routingTable \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"routes": [
{
"destination": "<string>",
"target": "<string>",
"description": "<string>"
}
]
}
'{
"results": [
{
"destination": "<string>",
"target": "<string>",
"description": "<string>"
}
]
}JWT tokens should be used with OIDC account (human to machine). JWT tokens used by the Qovery console to communicate with the API have a TTL. Curl Example ' curl https://console.qovery.com/organization -H "Authorization: Bearer $qovery_token" '
Organization ID
Cluster ID
Show child attributes
Updated routing table
Show child attributes
Was this page helpful?