Accounts

Update an account by account ID. Supports updating the display name and adding new wallets.

patch/v1/accounts/{account_id}

Request

  • Base URL
    https://api.privy.io
  • URL
    https://api.privy.io/v1/accounts/{account_id}
  • Auth
    HTTP basic

Path parameters

account_idstring required

ID of the account.

Headers

privy-app-idstring required

ID of your Privy app.

Request body

OR

Response

The updated account.

idstring required

The account ID.

display_namestring nullable required

An optional display name for the account.

Changes

    • breaking

      removed the enum value ethereum of the request property ///

    • breaking

      removed the enum value solana of the request property ///

    • breaking

      the /// request property type changed from string to no type

    • breaking

      the // response's property type changed from string to no type for status

    • info

      added subschema #1 subschema #2 to the /// request property anyOf list

    • info

      added subschema #1 subschema #2 to the // response property anyOf list for the response status

    • info

      removed the ethereum enum value from the // response property for the response status

    • info

      removed the solana enum value from the // response property for the response status

    • warning

      removed the request property ///

    • warning

      removed the optional property // from the response with the status