cURL
curl --request PUT \ --url http://localhost:3000/api/models/{modelId}/ports/{portId} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "label": "<string>", "partId": "<string>", "constraints": [ "<string>" ] }'
{ "label": "<string>", "constraints": [ "<string>" ], "notes": "<string>" }
Updates a specific port
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
ID of the model
ID of the port
Port updated successfully
A port belonging to a part in the model