GoRunner docs
Search or askSearch⌘K

End a session

DELETE/api/embed/v1/sessions/current

Signs the frame’s session out. The SDK calls it when the frame goes away.

Needs the frame’s session: Authorization: Bearer gri_…. The SDK calls it; you rarely do.

Embed · Self-hosted with an Embed license

Request

It takes no parameters and no body.

Responses

  • 204No Content

    Ended.

  • No session token.

  • The session ended. details.reason says why, such as access_removed, role_changed or workspace_deleted.

  • Embed isn’t licensed here, or sign-in is off (details.reason: not_licensed or sign_in_off).

  • Something failed on the installation’s side. Try again.

Any call can also answer: 429 RATE_LIMITED · 503 BUSY. See Errors.

Request

GORUNNER="https://automations.example.com"
GORUNNER_SESSION="gri_…"  # the frame’s session

curl -X DELETE "$GORUNNER/api/embed/v1/sessions/current" \
  -H "Authorization: Bearer $GORUNNER_SESSION"

Response · 204 No Content

http
HTTP/1.1 204 No Content
Every field

It takes no body.

204 No Content: no body.