cURL
curl --request POST \ --url https://app.miget.com/api/v1/apps/{uuid}/workspaces/{workspace_name}/apps/{app_name}/ports \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data ' { "internal_port": 123, "protocol": "tcp", "public": false } '
Create a new port for an app
Bearer token for authentication. Format: 'Bearer {token}'
Workspace name
App name
Internal port number (1-65535)
Protocol (tcp or udp)
tcp
udp
Public Access