DELETE
/
api
/
models
/
{modelId}
/
ports
/
{portId}
curl --request DELETE \
  --url http://localhost:3000/api/models/{modelId}/ports/{portId} \
  --header 'Authorization: Bearer <token>'
{
  "success": true
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

modelId
string
required

ID of the model

portId
string
required

ID of the port

Response

200
application/json
Port deleted successfully
success
boolean