post https://example.com/user/createSubAccount
Creates or updates a subaccount for the ChaosSearch deployment. New subaccounts are automatically added to the default
group. The default
group permissions often allow wide access to actions and data. Make sure to specify the required groups for new accounts if more restrictive access is required, or change the default group permissions to reflect the desired base access for new subaccounts.
This endpoint requires a JWT created for the primary/tenant account using the /user/login
endpoint.
NOTE: This endpoint is also used to edit an existing subaccount.
The UID is returned by the service on a successful creation of a new subaccount. The UID is the identifier of the subaccount.