This method allows you to update the attributes of a PW Sub Wallet
API Key permission group : Enable Wallet Management
Designated Wallet : Allow to set a designated wallet.
{
"autoCollection": 0,
"requestId": 1640995200000,
"timestamp": 1640995200000,
"walletId": "string",
"walletName": "Shared Wallet Example"
}curl --location --request POST '/open-api/v1/subwallet/updateSubWallet' \
--header 'open-apikey;' \
--header 'signature;' \
--header 'Content-Type: application/json' \
--data-raw '{
"autoCollection": 0,
"requestId": 1640995200000,
"timestamp": 1640995200000,
"walletId": "string",
"walletName": "Shared Wallet Example"
}'{
"data": {
"walletId": 377611257643147260,
"walletName": null,
"walletType": 21,
"autoCollection": 1,
"parentWalletId": null
},
"code": "000000",
"message": "Success"
}