cURL
curl --request POST \
--url https://test.deribit.com/api/v2/private/set_coinbase_subaccount_withdrawals_allowed \
--header 'Authorization: Bearer <ACCESS_TOKEN>' \
--header 'Content-Type: application/json' \
--data '{
"jsonrpc": "2.0",
"id": 42,
"method": "private/set_coinbase_subaccount_withdrawals_allowed",
"params": {
"enabled": true
}
}'{
"jsonrpc": "2.0",
"id": 42,
"result": {
"enabled": true
}
}Wallet
private/set_coinbase_subaccount_withdrawals_allowed
Allows or disallows withdrawals from subaccounts. Can be called only by the main account; subaccounts receive a forbidden error. The setting applies to Coinbase wallet type withdrawals — when disabled, private/withdraw requests from subaccounts of a Coinbase wallet type account are rejected.
📖 Related Article: Managing Withdrawals
Scope: wallet:read_write
cURL
curl --request POST \
--url https://test.deribit.com/api/v2/private/set_coinbase_subaccount_withdrawals_allowed \
--header 'Authorization: Bearer <ACCESS_TOKEN>' \
--header 'Content-Type: application/json' \
--data '{
"jsonrpc": "2.0",
"id": 42,
"method": "private/set_coinbase_subaccount_withdrawals_allowed",
"params": {
"enabled": true
}
}'{
"jsonrpc": "2.0",
"id": 42,
"result": {
"enabled": true
}
}Query Parameters
Was this page helpful?