Display & Video 360 API v2 غروب است. به جای آن از Display & Video 360 API v3 استفاده کنید. برای دستورالعملهای انتقال نسخه 2 به نسخه 3، راهنمای مهاجرت ما را ببینید.
نقش های کاربر اختصاص داده شده برای حذف به صورت دسته ای، به عنوان لیستی از assigned_user_role_ids مشخص شده است. قالب assignedUserRoleId entityType-entityid است، برای مثال partner-123 .
تاریخ آخرین بهروزرسانی 2025-01-12 بهوقت ساعت هماهنگ جهانی.
[[["درک آسان","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 بهوقت ساعت هماهنگ جهانی."],[[["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"]]