Create a resource group
POST/api/v1/ManagedResourceGroup
Creates a resource group and returns it. Use it to group resources so access policies and protection settings can target them together.
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.
Request
Responses
- 200
- 400
- 401
- 403
- 500
The created resource group.
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.
The group could not be saved, for example the name is missing or longer than 256 characters.