cURL
curl --request PUT \ --url https://api.chicklet.io/v1/chicklets/{id}/ports \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "ports": [ 123 ] } '
{ "ports": [ 123 ] }
Update the exposed ports for a chicklet
Bearer token authentication (e.g. "Bearer your-api-key")
Chicklet name or ID
List of port numbers to expose
Returns the updated ports