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