To create users, use the POST /tspublic/v1/user/ API endpoint.
This endpoint also allows assigning a user to Orgs.
To add multiple users to an Org in bulk, use the POST /tspublic/v1/user/addtoorg
API endpoint.
To remove a user from an Org, use the DELETE /tspublic/v1/user/{userid}
endpoint. If a user belongs only to the Org specified in the DELETE
request, the user will be deleted from the Org and ThoughtSpot system. If the user belongs to more than one Org, the DELETE
operation removes the user only from the Org specified in the API request. To remove the user from the ThoughtSpot system and all Orgs, you must set the orgid
to -1
in your API request.