The Data Manager API is in closed beta. To express interest in joining the closed beta, fill out
this form.
Method: audienceMembers.remove
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Yêu cầu HTTP
POST https://datamanager.googleapis.com/v1/audienceMembers:remove
URL sử dụng cú pháp Chuyển mã gRPC.
Nội dung yêu cầu
Nội dung yêu cầu chứa dữ liệu có cấu trúc sau:
Trường |
destinations[] |
object (Destination )
Bắt buộc. Danh sách đích đến mà bạn muốn xoá người dùng.
|
audienceMembers[] |
object (AudienceMember )
Bắt buộc. Danh sách người dùng cần xoá.
|
validateOnly |
boolean
Không bắt buộc. Chỉ dùng cho mục đích kiểm thử. Nếu true , yêu cầu sẽ được xác thực nhưng không được thực thi. Chỉ trả về lỗi, không trả về kết quả.
|
encoding |
enum (Encoding )
Không bắt buộc. Bắt buộc đối với tệp tải lên UserData . Loại mã hoá của giá trị nhận dạng người dùng. Chỉ áp dụng cho lớp mã hoá bên ngoài đối với giá trị nhận dạng người dùng được mã hoá. Đối với các tệp tải lên không phải UserData , trường này sẽ bị bỏ qua.
|
encryptionInfo |
object (EncryptionInfo )
Không bắt buộc. Thông tin mã hoá cho tệp UserData tải lên. Nếu bạn không đặt, thì hệ thống sẽ giả định rằng thông tin nhận dạng được tải lên đã được băm nhưng chưa được mã hoá. Đối với các tệp tải lên không phải UserData , trường này sẽ bị bỏ qua.
|
Nội dung phản hồi
Câu trả lời của RemoveAudienceMembersRequest
.
Nếu thành công, phần nội dung phản hồi sẽ chứa dữ liệu có cấu trúc sau:
Biểu diễn dưới dạng JSON |
{
"requestId": string
} |
Trường |
requestId |
string
Mã nhận dạng được tạo tự động của yêu cầu.
|
Phạm vi uỷ quyền
Yêu cầu phạm vi OAuth sau:
https://www.googleapis.com/auth/datamanager
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-07-25 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-07-25 UTC."],[],[],null,["# Method: audienceMembers.remove\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Request body](#body.request_body)\n - [JSON representation](#body.request_body.SCHEMA_REPRESENTATION)\n- [Response body](#body.response_body)\n - [JSON representation](#body.RemoveAudienceMembersResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nRemoves a list of [AudienceMember](/data-manager/api/reference/rest/v1/AudienceMember) resources from the provided [Destination](/data-manager/api/reference/rest/v1/Destination).\n\n### HTTP request\n\n`POST https://datamanager.googleapis.com/v1/audienceMembers:remove`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Request body\n\nThe request body contains data with the following structure:\n\n| JSON representation |\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"destinations\": [ { object (/data-manager/api/reference/rest/v1/Destination) } ], \"audienceMembers\": [ { object (/data-manager/api/reference/rest/v1/AudienceMember) } ], \"validateOnly\": boolean, \"encoding\": enum (/data-manager/api/reference/rest/v1/Encoding), \"encryptionInfo\": { object (/data-manager/api/reference/rest/v1/EncryptionInfo) } } ``` |\n\n| Fields ||\n|---------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `destinations[]` | `object (`[Destination](/data-manager/api/reference/rest/v1/Destination)`)` Required. The list of destinations to remove the users from. |\n| `audienceMembers[]` | `object (`[AudienceMember](/data-manager/api/reference/rest/v1/AudienceMember)`)` Required. The list of users to remove. |\n| `validateOnly` | `boolean` Optional. For testing purposes. If `true`, the request is validated but not executed. Only errors are returned, not results. |\n| `encoding` | `enum (`[Encoding](/data-manager/api/reference/rest/v1/Encoding)`)` Optional. Required for [UserData](/data-manager/api/reference/rest/v1/UserData) uploads. The encoding type of the user identifiers. Applies to only the outer encoding for encrypted user identifiers. For non `UserData` uploads, this field is ignored. |\n| `encryptionInfo` | `object (`[EncryptionInfo](/data-manager/api/reference/rest/v1/EncryptionInfo)`)` Optional. Encryption information for [UserData](/data-manager/api/reference/rest/v1/UserData) uploads. If not set, it's assumed that uploaded identifying information is hashed but not encrypted. For non `UserData` uploads, this field is ignored. |\n\n### Response body\n\nResponse from the `RemoveAudienceMembersRequest`.\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|---------------------------------|\n| ``` { \"requestId\": string } ``` |\n\n| Fields ||\n|-------------|------------------------------------------------|\n| `requestId` | `string` The auto-generated ID of the request. |\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/datamanager`"]]