v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-13177414729.5 KB
users

Bulk edits user roles for a user. The operation will delete the assigned user roles provided in BulkEditAssignedUserRolesRequest.deletedAssignedUserRoles and then assign the user roles provided in BulkEditAssignedUserRolesRequest.createdAssignedUserRoles. This method has unique authentication requirements. Read the prerequisites in our Managing Users guide before using this method. The "Try this method" feature does not work for this method.

post/v4/users/{+userId}:bulkEditAssignedUserRoles

Path parameters

userIdstring required

Required. The ID of the user to which the assigned user roles belong.

Request body

deletedAssignedUserRolesstring[]

The assigned user roles to delete in batch, specified as a list of assigned_user_role_ids. The format of assigned_user_role_id is entityType-entityid, for example partner-123.

Response

Successful response