GoRunner docs
Search or askSearch⌘K

Delete a connection

DELETE/api/connections/{id}

Deletes a connection and its secret. Workflows that use it aren’t changed.

Needs an API token with the Delete permission for connections (connection:delete).

Warning Steps that use it fail when they run. See which workflows use it first, or move them to another connection.

Parameters

Path

idRequired · UUID

The connection’s ID.

Responses

  • 200OK

    Deleted. There is no undo.

  • id isn’t a UUID.

  • The token lacks the Delete permission for connections. Write isn’t enough.

  • The partner manages this connection through its own API, so it can’t be changed here.

  • No connection with this ID in the token’s workspace. Any failure to delete answers this too.

Any call can also answer: 401 UNAUTHORIZED · 401 TOKEN_ENDED · 403 TOKEN_SURFACE_OFF · 403 FEATURE_OFF · 403 EMBED_NOT_ALLOWED · 403 EMBED_NOT_AVAILABLE · 403 ACCOUNT_SUSPENDED · 429 RATE_LIMITED · 503 BUSY · 503 PAUSED · 503 SERVICE_UNAVAILABLE. See Errors.

Request

GORUNNER="https://api.gorunner.io"
GORUNNER_TOKEN="grt_…"  # needs Delete for connections
CONNECTION_ID="your-connection-id"

URL="$GORUNNER/api/connections/$CONNECTION_ID"
curl -X DELETE "$URL" \
  -H "Authorization: Bearer $GORUNNER_TOKEN"

Response · 200 OK

json
{
  "data": {
    "message": "Connection deleted"
  }
}
Every field

It takes no body.

Response · 200 OK

dataobject

Bare acknowledgement payload returned by connection and template deletes.

messagestring