Delete port by its ID.
No Content
const response = await fetch('https://cloud-api.calyptia.com/v1/pipeline_ports/{portID}', { method: 'DELETE', headers: { "Authorization": "Bearer <token>" }, }); const data = await response.json();
Update port by its ID.
"tcp"
const response = await fetch('https://cloud-api.calyptia.com/v1/pipeline_ports/{portID}', { method: 'PATCH', headers: { "Authorization": "Bearer <token>", "Content-Type": "application/json" }, body: JSON.stringify({}), }); const data = await response.json();
Port by ID.
OK
The kind/type of the service associated to this port.
"forward.0"
"forward"
"myforwardinput"
const response = await fetch('https://cloud-api.calyptia.com/v1/pipeline_ports/{portID}', { method: 'GET', headers: { "Authorization": "Bearer <token>" }, }); const data = await response.json();
{ "id": "123e4567-e89b-12d3-a456-426614174000", "protocol": "tcp", "kind": "LoadBalancer", "endpoint": "text", "pluginID": "forward.0", "pluginName": "forward", "pluginAlias": "myforwardinput", "createdAt": "2024-09-08T02:04:55.585Z", "updatedAt": "2024-09-08T02:04:55.585Z" }