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", "endpoint": "text", "pluginID": "forward.0", "pluginName": "forward", "pluginAlias": "myforwardinput", "createdAt": "2024-11-21T12:36:54.242Z", "updatedAt": "2024-11-21T12:36:54.242Z" }
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();