Set account management for chosen resources in a group
PUT/api/v1/ManagedResource/ManageAccount/:managedResourceGroupId/:manageAccount
Turns management of the built-in administrator account on or off for the resources you list in one resource group.
Permission required: Administrator signed in with multifactor authentication, or an application account.
Values for manageAccount: 0 = Unmanaged, 1 = Managed.
Caution: The change applies immediately to the resources you list.
Request
Responses
- 200
- 400
- 403
- 404
The request was processed. The response has no body. Problems with individual resources, such as an unknown resource or a platform with no built-in administrator account, are not reported and do not change the status.
The setting could not be applied. The body is a message.
The signed-in user does not have the required role.
The resource group does not exist.