Skip to main content

Update overall settings

PATCH 

/v1/settings/overall

Update overall settings

This endpoint allows users to modify their account settings, specifically the visibility of balances, preferred currency, and language. It accepts a JSON payload with optional fields: hideBalances, currency, and language. The endpoint validates the provided currency and language against supported values (USD, BRL for currencies; en, pt for languages). Upon successful validation and update, it returns a 204 No Content status. Errors such as unsupported currency or language result in a 400 Bad Request, while internal server errors yield a 500 Internal Server Error response.

Request

Body

required
    currency stringnullable
    hideBalances booleannullable
    language stringnullable

Responses

User settings updated

Loading...