Skip to content

Delete a port with POST

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

Compatibility endpoint that permanently removes a port using POST.

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