Tunnel

Bulk Delete Tunnels Endpoint

Changed on

Bulk soft-delete multiple tunnels by IDs or labels.

delete/api/v1/tunnel

Request

  • Base URL
    https://api.primeintellect.ai
  • Auth
    HTTP bearer

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

Changes

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      the request property became optional

    • info

      request property list-of-types was widened by adding types null to media type application/json

    • info

      endpoint added