v3
latestOpenAPI 3.0.02026-07-311784111.3 MBAccount 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.
📖 Related Article: Managing Subaccounts
Scope: account:read_write
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