برای فرآیند حذف دسترسی کاربر به داراییها، درخواستهای خوب همیشه یک پاسخ 200 OK را نشان میدهند، حتی اگر عضوی نامعتبر باشد یا به دارایی Looker Studio تعلق نداشته باشد.
درخواست کنید
درخواست HTTP
POST https://datastudio.googleapis.com/v1/assets/{assetName}/permissions:revokeAllPermissions
پارامترهای مسیر
نام پارامتر
تایپ کنید
توضیحات
نام دارایی
رشته
شناسه نام (ID) دارایی.
مجوز
این درخواست از کاربر مجاز میخواهد که مجوزهای کافی برای مدیریت مجوزها و مجوزهای دارایی با محدوده زیر داشته باشد:
تاریخ آخرین بهروزرسانی 2025-01-06 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-01-06 بهوقت ساعت هماهنگ جهانی."],[[["Revoke access for multiple users from a Looker Studio asset using the `revokeAllPermissions` endpoint."],["Requests to remove users will always return a successful response (`200 OK`), even if the user is invalid or not associated with the asset."],["The request body requires a list of members to remove, specified as `user:` or `domain:`, but owners and the authorized user cannot be removed."],["Successful requests return an updated Permissions object reflecting the changes made."],["This API call needs authorization with the `https://www.googleapis.com/auth/datastudio` scope."]]],[]]