Wallet
Private

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

Try in API console

get/private/set_coinbase_subaccount_withdrawals_allowed

Query parameters

enabledboolean required
Example:true

If true, subaccounts of the account are allowed to withdraw

Response

Success response

jsonrpc'2.0' required

The JSON-RPC version (2.0)

idinteger

The id that was sent in the request

Example response

{
  "result": {
    "enabled": true
  }
}

Changes

Changed in 1 of the 9 revisions of this API.1