Add Asset Group(s) to Role
PUT https://{{API_URL}}/roles/:id/add_asset_groups
Update a single role's attributes by ID.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
**asset_groups - updated in body tab | string | array of strings - An array of asset group names to add to a role's existing set of asset groups. |
Request Body
{"role"=>{"asset_groups"=>["new group"]}}