Set the service account of several resources
PUT/api/v1/ManagedResource/ServiceAccount/Bulk
Sets the service account that each listed resource uses to connect.
Permission required: Administrator signed in with multifactor authentication, or an application account.
Caution: The change applies immediately to each listed resource.
Request
Responses
- 200
- 400
- 403
Returns one result for each resource, with its id, a status of 200, 400 or 404, and a message. The call returns 200 even when some resources fail, so check each status.
The batch could not be processed.
The signed-in user does not have the required role.