Оптимизируйте свои подборки
Сохраняйте и классифицируйте контент в соответствии со своими настройками.
Удаление участников из ресурса Looker Studio.
Чтобы упростить процесс удаления доступа пользователей к ресурсам, правильно сформированные запросы всегда возвращают ответ 200 OK , даже если элемент недействителен или не принадлежит активу Looker Studio.
Запрос
HTTP-запрос
POST https://datastudio.googleapis.com/v1/assets/{assetName}/permissions:revokeAllPermissions
Параметры пути
Имя параметра
Тип
Описание
имя_актива
нить
Имя (ID) идентификатор актива.
Авторизация
Этот запрос требует, чтобы авторизованный пользователь имел достаточные разрешения для управления разрешениями и авторизацией активов в следующей области:
[[["Прост для понимания","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-07-24 UTC."],[[["\u003cp\u003eRevoke access for multiple users from a Looker Studio asset using the \u003ccode\u003erevokeAllPermissions\u003c/code\u003e endpoint.\u003c/p\u003e\n"],["\u003cp\u003eRequests to remove users will always return a successful response (\u003ccode\u003e200 OK\u003c/code\u003e), even if the user is invalid or not associated with the asset.\u003c/p\u003e\n"],["\u003cp\u003eThe request body requires a list of members to remove, specified as \u003ccode\u003euser:\u003c/code\u003e or \u003ccode\u003edomain:\u003c/code\u003e, but owners and the authorized user cannot be removed.\u003c/p\u003e\n"],["\u003cp\u003eSuccessful requests return an updated Permissions object reflecting the changes made.\u003c/p\u003e\n"],["\u003cp\u003eThis API call needs authorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/datastudio\u003c/code\u003e scope.\u003c/p\u003e\n"]]],[],null,[]]