Create or update a subaccount

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.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
UserInfoBlock
object
required
GroupIds
array of strings
required

One or more group IDs to assign to the subaccount.

GroupIds*
string
required
Hocon
array of strings

Override or set internal fields of the subaccount (please work with ChaosSearch support to use).

Hocon
Headers
string
required

Must specify login as the value.

string
required

Specify the JWT that was output by a recent /user/login endpoint.

Responses

400

Required fields are not provided

Language
LoadingLoading…
Response
Choose an example:
application/json