Skip to content

Delete a port

DELETE
/ports/{id}
curl --request DELETE \
--url https://api.ltesocks.io/v2/ports/example \
--header 'Authorization: Bearer <token>'

Permanently removes a port from the current account. Use this operation only after confirming the identifier.

id
required
string

Account-scoped port identifier.

Successful operation

Media type*/*
object

The bearer token is missing, invalid, or no longer active.

Media typeapplication/json
object
error

Error text representation

string
Example
{
"error": "example error"
}

The configured request limit has been exceeded.

Media typeapplication/json
object
error

Error text representation

string
Example
{
"error": "example error"
}

Error

Media type*/*
object
error

Error text representation

string
Example
example error