Partially updates multiple users in a single request. Returns 207 Multi-Status when some updates succeed and others fail.
Security
The requesting user must have one of the following permissions to update users in batch:
- Administration → Users → Edit Users
- Administration → Users → Edit Users in Bulk
Permission-change latency: changes to permissions take several minutes to propagate. A user may continue to operate under the previous permission set for a short period after a change.
Identifies the R365 tenant the request applies to. Required on every request.
Unique identifier of the patch user.
Unique identifier of the guid id.
Unique identifier of the guid id.
Unique identifier of the external location.
Unique identifier of the guid id.
Unique identifier of the entity reference long patch.
Identifier of the employee record to link this user to. Supplied as a bare GUID on the request; the GET response returns it as an object with id and name.
Legal entities to scope this user to.
Unique identifier of the guid id.
Users updated successfully.
Unique identifier of the user updated.
Per-item failures. NOTE: the wire property is 'errors' (SuccessErrorsResponse), not 'userErrors'.
207 Multi-Status – Partial success: the response contains arrays of created users and of errors for those that could not be created.
Unique identifier of the user updated.
Bad Request — a parameter value is malformed, of the wrong type, or outside its allowed range.
Unauthorized — the bearer token is missing, invalid or expired, or is not valid for the specified tenant.
Forbidden — the caller lacks the permission required for this operation.
Not Found — the requested resource does not exist, or the supplied continuation token is unknown or has expired.
Conflict — the request conflicts with the current state of the resource and cannot be applied.
Unprocessable Entity — a required parameter is missing, or a supplied parameter value is invalid.
Too Many Requests — the caller has exceeded the rate limit; retry after a short delay.
Internal Server Error — an unexpected error occurred while processing the request.