Update existing groups for a given ChaosSearch deployment

Updates one or more existing groups for this deployment. The caller must provide a JSON body with the group and RBAC information. You must specify a group ID or a group name; to change the group name, you must specify the group ID to identify the current group.

This call is atomic; either all of the groups specified in the JSON document are successfully updated, or none of the groups are updated.

This endpoint requires a JWT created for the primary/tenant account using the /user/login endpoint.

Body Params

User group with RBAC policy

Headers
string
required

Must specify login as the value.

string
required

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

Responses

400

The specified resource does not exist

Language
Response
Choose an example:
application/json