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.
📖 Related Article: Managing Subaccounts
Scope: account:read_write
get/private/toggle_subaccount_login
Request
- Base URLhttps://test.deribit.com/api/v2
- URLhttps://test.deribit.com/api/v2/private/toggle_subaccount_login
- Authnone declared
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
Changes
No recorded changes to this operation across all 11 revisions of this API.