The Data Manager API is in closed beta. To express interest in joining the closed beta, fill out
this form.
Method: audienceMembers.remove
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Żądanie HTTP
POST https://datamanager.googleapis.com/v1/audienceMembers:remove
Adres URL używa składni transkodowania gRPC.
Treść żądania
Treść żądania zawiera dane o następującej strukturze:
Pola |
destinations[] |
object (Destination )
Wymagane. Lista miejsc docelowych, z których chcesz usunąć użytkowników.
|
audienceMembers[] |
object (AudienceMember )
Wymagane. Lista użytkowników do usunięcia.
|
validateOnly |
boolean
Opcjonalnie. Do celów testowych. Jeśli true , żądanie jest weryfikowane, ale nie wykonywane. Zwracane są tylko błędy, a nie wyniki.
|
encoding |
enum (Encoding )
Opcjonalnie. Wymagane w przypadku przesyłania plików w UserData . Typ kodowania identyfikatorów użytkowników. Dotyczy tylko zewnętrznego kodowania zaszyfrowanych identyfikatorów użytkowników. W przypadku przesyłania plików innych niż UserData to pole jest ignorowane.
|
encryptionInfo |
object (EncryptionInfo )
Opcjonalnie. Informacje o szyfrowaniu przesyłanych plików UserData . Jeśli nie jest ustawiona, zakłada się, że przesłane informacje umożliwiające identyfikację są zahaszowane, ale nie zaszyfrowane. W przypadku przesyłania plików innych niż UserData to pole jest ignorowane.
|
Treść odpowiedzi
Odpowiedź z RemoveAudienceMembersRequest
.
W przypadku powodzenia treść żądania zawiera dane o następującej strukturze:
Zapis JSON |
{
"requestId": string
} |
Pola |
requestId |
string
Automatycznie wygenerowany identyfikator żądania.
|
Zakresy autoryzacji
Wymaga następującego zakresu OAuth:
https://www.googleapis.com/auth/datamanager
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-25 UTC.
[null,null,["Ostatnia aktualizacja: 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`"]]