Update a resource group
PUT/api/v1/ManagedResourceGroup/:id
Replaces the settings of the resource group and returns the updated group. Send the full group: fields you leave out are reset to their defaults. When manageAccounts is Managed or Unmanaged, that setting is applied to the built-in accounts of every resource in the group, or of every resource on the platform for a platform group.
Permission required: Requires the Admin role, or an application account with the App role.
Values for type: 0 = Local.
Values for manageAccounts: 0 = PerResource, 1 = Unmanaged, 2 = Managed.
Caution: Setting manageAccounts to Managed or Unmanaged takes effect immediately for every resource in the group (or on the platform), and the request does not return until it finishes.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 500
The updated resource group.
The ID in the body does not match the route (empty body), or the OU settings are not valid, for example OU mapping is enabled without an OU distinguished name, the name cannot be parsed, or the domain is not found (the body is the error text).
The request is not signed in.
The signed-in user does not have the required role.
No resource group has that ID.
The group could not be saved, for example the name is missing or longer than 256 characters.