Port by ID.
OK
"tcp"
The kind/type of the service associated to this port.
"forward.0"
"forward"
"myforwardinput"
Delete port by its ID.
No Content
Update port by its ID.
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", "frontendPort": 0, "backendPort": 0, "endpoint": "text", "pluginID": "forward.0", "pluginName": "forward", "pluginAlias": "myforwardinput", "createdAt": "2024-12-02T20:17:47.184Z", "updatedAt": "2024-12-02T20:17:47.184Z" }
const response = await fetch('https://cloud-api.calyptia.com/v1/pipeline_ports/{portID}', { method: 'DELETE', headers: { "Authorization": "Bearer <token>" }, }); const data = await response.json();
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();