Skip to content

Switch Account

Request

Switch between available accounts associated with the user.

Security
HTTP_BASIC
Query
account-idnumberrequired

Enter the desired account ID (client ID).

curl -i -X POST \
  -u '<username>:<password>' \
  'https://tapi.avanser.com/v1/accounts?account-id=0'

Responses

Successful response

Bodyapplication/json
@transactionobject
responseobject
Response
{ "@transaction": { "id": "c9220015e2f48bc7cf4b38186a7b2025", "account-id": "5995", "request": { … } }, "response": { "message": "Success", "code": 200 } }