Skip to main content
DELETE
/
api
/
v1
/
tunnel
Bulk Delete Tunnels Endpoint
curl --request DELETE \
  --url https://api.primeintellect.ai/api/v1/tunnel \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "tunnel_ids": [
    "<string>"
  ]
}
'
{
  "message": "<string>",
  "succeeded": [
    "<string>"
  ],
  "failed": [
    {}
  ]
}

Rate Limit

100 requests per 60 seconds per user.

Authorizations

Authorization
string
header
required

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

Body

application/json

Request to bulk delete tunnels.

tunnel_ids
string[]
required

List of tunnel IDs to delete

Required array length: 1 - 500 elements

Response

Successful Response

Response for bulk tunnel deletion.

message
string
required

Summary message

succeeded
string[]

Successfully deleted tunnel IDs

failed
Failed · object[]

Failed deletions with error messages