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

KeyDatatypeRequiredDescription
**asset_groups - updated in body tabstringarray 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"]}}