Switch active account context

POST/api/v1/multi-account/switch

Parameters

This endpoint does not accept parameters.

Responses

200Context switched

Request

curl -X POST "https://api.knowledgetree.dev/api/v1/multi-account/switch" \
  -H "Authorization: Bearer $KT_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ "account_id": "acc_xyz" }'

Response

200Context switched
Example response not yet documented.