v2

latestOpenAPI 3.1.02026-07-2675166192.8 KB
Tunnel

Bulk Delete Tunnels Endpoint

Bulk soft-delete multiple tunnels by IDs or labels.

delete/api/v1/tunnel

Request body

tunnel_idsstring[] nullable

List of tunnel IDs to delete

labelsstring[] nullable

List of labels - delete all tunnels with ALL these labels

status'pending' | 'connected' | 'disconnected' | 'expired' | 'terminated'
teamIdstring nullable

Scope deletion to tunnels in this team

userIdstring nullable

Scope deletion to tunnels owned by this user

allUsersboolean

Delete tunnels across all users in the given team

Response

Successful Response

succeededstring[]

Successfully deleted tunnel IDs

failedobject[]

Failed deletions with error messages

messagestring required

Summary message