v3

latestOpenAPI 3.0.02026-07-311784111.3 MB
Account Management
Private

Enables or disables direct login access for a subaccount. When login is disabled, the subaccount cannot be accessed directly using email and password authentication, but can still be accessed through the main account.

If login is disabled while an active session exists for the subaccount, that session will be immediately terminated.

TFA required

📖 Related Article: Managing Subaccounts

Scope: account:read_write

Try in API console

get/private/toggle_subaccount_login

Query parameters

sidinteger required
Example:7

The user id for the subaccount

state'enable' | 'disable' required
Example:enable

enable or disable login.

Response

Success response

jsonrpc'2.0' required

The JSON-RPC version (2.0)

idinteger

The id that was sent in the request

result'ok' required

Result of method execution. ok in case of success