Этот метод имеет уникальные требования к аутентификации. Прежде чем использовать этот метод, прочтите предварительные требования в нашем руководстве по управлению пользователями .
Функция «Попробуйте этот метод» для этого метода не работает.
HTTP-запрос
POST https://displayvideo.googleapis.com/v1/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-01-12 UTC."],[[["The Display & Video 360 API v1 `bulkEditAssignedUserRoles` method allows for batch updates of user roles, deleting and creating them in one operation."],["This method requires specific authentication outlined in the Managing Users guide and does not support the \"Try this method\" feature."],["The request body includes lists of assigned user roles to delete and create, identified by their respective IDs or object representations."],["A successful response provides a list of the newly created assigned user roles or an empty list if none were created."],["Authorization requires the `https://www.googleapis.com/auth/display-video-user-management` OAuth scope."]]],["This document details the process of bulk editing user roles via the Display & Video 360 API. It utilizes a POST request to `https://displayvideo.googleapis.com/v1/users/{userId}:bulkEditAssignedUserRoles`, requiring a `userId` path parameter. The request body contains two fields: `deletedAssignedUserRoles` for roles to be removed and `createdAssignedUserRoles` for roles to be added. The response lists successfully created roles. This method needs specific authentication as detailed in the \"Managing Users\" guide and the user must use the `display-video-user-management` scope.\n"]]