Update wallet
PUT/v1/wallets/:wallet_id
Update wallet
This endpoint allows updating various attributes of a wallet identified by its ID. The endpoint performs validation checks to ensure that at least one field is provided for update and that none of the provided fields are empty. Upon successful update, it returns a 204 No Content status. If the wallet is not found, it returns a 404 Not Found status. Providing no fields to update or invalid inputs results in a 400 Bad Request status, and internal server errors yield a 500 Internal Server Error status.
Request
Path Parameters
wallet_id uuidrequired
Wallet id
- application/json
Body
required
backup_key stringnullable
name stringnullable
owner_id stringnullable
seed stringnullable
wallet_type stringnullable
Responses
- 204
- 400
- 404
- 500
Wallet updated
No fields to update or invalid inputs
- text/plain
- Schema
Schema
string
Wallet not found
- text/plain
- Schema
Schema
string
Internal server error
- text/plain
- Schema
Schema
string
Loading...