GoRunner docs
Search or askSearch⌘K

Delete a template

DELETE/api/templates/{id}

Deletes a template. Workflows made from it aren’t changed.

Needs an API token with the Write permission for workflows (workflow:write).

Parameters

Path

idRequired · UUID

The template’s ID.

Responses

  • 200OK

    Deleted. There is no undo.

  • The token lacks the Write permission for workflows, or the token’s owner may not delete it. Only its creator, an organization admin, or for a workspace’s own template that workspace’s admin.

  • No template with this ID in this workspace. A template the installation shares is changed only in the Platform console, and reads as not found here.

  • Nothing was deleted. Try again.

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 Write for workflows
TEMPLATE_ID="your-template-id"

curl -X DELETE "$GORUNNER/api/templates/$TEMPLATE_ID" \
  -H "Authorization: Bearer $GORUNNER_TOKEN"

Response · 200 OK

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

It takes no body.

Response · 200 OK

dataobject

Bare acknowledgement payload returned by connection and template deletes.

messagestring