Skip to main content
POST
/
api
/
users
/
exchange-config
cURL
curl --request POST \
  --url https://api.production.hyperoru.com/api/users/exchange-config \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "selected_exchange": "<string>"
}
'
{
  "status": "<string>",
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

Session token issued by POST /api/users/login, transported as Authorization: Bearer <token>.

Body

application/json
selected_exchange
string
required

Response

Exchange configuration saved

Generic { "status": "success", "message": "..." } ack used by handlers whose primary purpose is side effects (toggles, deletes, async starts).

status
string
required
Example:

"success"

message
string | null