Этот метод имеет уникальные требования к аутентификации. Прежде чем использовать этот метод, прочтите предварительные требования в нашем руководстве по управлению пользователями .
Функция «Попробуйте этот метод» для этого метода не работает.
HTTP-запрос
POST https://displayvideo.googleapis.com/v3/users/{userId}:bulkEditAssignedUserRoles
Назначенные роли пользователя для пакетного удаления в виде списка assigned_user_role_ids . Формат присвоенногоUserRoleId entityType-entityid , например partner-123 .
[[["Прост для понимания","easyToUnderstand","thumb-up"],["Помог мне решить мою проблему","solvedMyProblem","thumb-up"],["Другое","otherUp","thumb-up"]],[["Отсутствует нужная мне информация","missingTheInformationINeed","thumb-down"],["Слишком сложен/слишком много шагов","tooComplicatedTooManySteps","thumb-down"],["Устарел","outOfDate","thumb-down"],["Проблема с переводом текста","translationIssue","thumb-down"],["Проблемы образцов/кода","samplesCodeIssue","thumb-down"],["Другое","otherDown","thumb-down"]],["Последнее обновление: 2025-02-25 UTC."],[[["This method enables bulk editing of user roles by deleting and creating assigned roles in batches."],["It requires the `userId` as a path parameter to identify the target user."],["The request body specifies roles to delete (`deletedAssignedUserRoles`) and create (`createdAssignedUserRoles`)."],["Successful responses include a list of the successfully created assigned user roles (`createdAssignedUserRoles`)."],["It requires authorization with the `https://www.googleapis.com/auth/display-video-user-management` scope."]]],["This API operation performs bulk edits to a user's roles. It uses a POST request to the specified URL, including the user's ID in the path. The request body contains two key arrays: `deletedAssignedUserRoles`, listing user role IDs to remove, and `createdAssignedUserRoles`, listing new roles to assign. The response returns a list of successfully created assigned user roles in `createdAssignedUserRoles`. This operation requires specific authorization scopes and prerequisites, and the \"Try it!\" feature is unavailable.\n"]]