The Data Manager API is in closed beta. To express interest in joining the closed beta, fill out this form
.
Method: audienceMembers.remove
Stay organized with collections
Save and categorize content based on your preferences.
HTTP request
POST https://datamanager.googleapis.com/v1/audienceMembers:remove
The URL uses gRPC Transcoding
syntax.
Request body
The request body contains data with the following structure:
Fields |
destinations[]
|
object ( Destination
)
Required. The list of destinations to remove the users from.
|
audienceMembers[]
|
object ( AudienceMember
)
Required. The list of users to remove.
|
validateOnly
|
boolean
Optional. For testing purposes. If true
, the request is validated but not executed. Only errors are returned, not results.
|
encoding
|
enum ( Encoding
)
Optional. Required for 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.
|
encryptionInfo
|
object ( EncryptionInfo
)
Optional. Encryption information for 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.
|
Response body
Response from the RemoveAudienceMembersRequest
.
If successful, the response body contains data with the following structure:
Fields |
requestId
|
string
The auto-generated ID of the request.
|
Authorization scopes
Requires the following OAuth scope:
-
https://www.googleapis.com/auth/datamanager
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License
, and code samples are licensed under the Apache 2.0 License
. For details, see the Google Developers Site Policies
. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-06-24 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-24 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`"]]