Hide balances
PATCH/v1/settings/toggle-hide-balances
Hide balances
This endpoint allows users to toggle the visibility of their account balances. It accepts a boolean value indicating whether to hide (true) or show (false) the balances. Successful toggling returns a boolean status reflecting the new setting. Errors include "User not found" if the user does not exist and "Internal server error" for unexpected failures.
Responses
- 200
- 404
- 500
Hide balances updated
- text/plain
- Schema
Schema
boolean
User not found
- text/plain
- Schema
Schema
string
Internal server error
- text/plain
- Schema
Schema
string
Loading...