RelayStack icon

RelayStack

Interact with Telegram API Gateway

Instance → Disconnect

AI-generated

Summary

Disconnect a RelayStack instance, ending its authentication session.

Inputs

  • instanceId (required) — UUID of the instance (obtained from Create or List).

Output shape

object

Returns the JSON response from the POST /instances/:instanceId/auth/disconnect endpoint (typically an empty object or success status).

Examples

Example 1: After verifying a login or 2FA code, you may want to log out of the Telegram account attached to the instance.

Set Resource: Instance, Operation: Disconnect, provide the Instance ID.

Links

Discussion