PATCH
/
v1
/
wallets
/
{wallet_id}
curl --request PATCH \
  --url https://api.privy.io/v1/wallets/{wallet_id} \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --header 'privy-app-id: <privy-app-id>' \
  --data '{
  "policy_ids": [
    "tb54eps4z44ed0jepousxi4n"
  ]
}'
{
  "id": "jf4mev19seymsqulciv8on0c",
  "address": "0x7Ef5363308127128969618240eDcB9F8f61e90F6",
  "chain_type": "ethereum",
  "policy_ids": [
    "tb54eps4z44ed0jepousxi4n"
  ],
  "owner_id": "rkiz0ivz254drv1xw982v3jq",
  "additional_signers": [],
  "created_at": 1741362961254
}

Authorizations

Authorization
string
header
required

Basic Auth header with your app ID as the username and your app secret as the password.

Headers

privy-app-id
string
required

ID of your Privy app.

privy-authorization-signature
string

Request authorization signature. If multiple signatures are required, they should be comma separated.

Path Parameters

wallet_id
string
required

ID of the wallet.

Body

application/json

Response

200 - application/json

Updated wallet object.

The response is of type object.