Run OU mapping for a resource group
PUT/api/v1/ManagedResourceGroup/OuMapping/:id/Schedule
Schedules a job that maps the group's OU to its resources. Use it after you enable or change OU mapping to apply it without waiting.
Permission required: Requires the Admin role, or an application account with the App role.
Request
Responses
- 200
- 400
- 401
- 403
- 404
The job was scheduled. The body is empty.
The job could not be scheduled, for example OU mapping is not enabled for the group or its OU settings are incomplete. 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.