Try the MCP server for Google Analytics. Install from
GitHub, and see the
announcement for more details.
UserDeletion.userDeletionRequest
Stay organized with collections
Save and categorize content based on your preferences.
For a list of methods for this resource, see the end of this page.
Resource representations
{
"kind": "analytics#userDeletionRequest",
"id": {
"type": string,
"userId": string
},
"webPropertyId": string,
"firebaseProjectId": string,
"propertyId": string,
"deletionRequestTime": datetime
}
Property name |
Value |
Description |
Notes |
deletionRequestTime |
datetime |
This marks the point in time at which the deletion request was received by Google
Analytics. |
|
firebaseProjectId |
string |
Firebase Project Id (deprecated in favor of propertyId field) |
|
id |
object |
User ID. |
|
id.type |
string |
Type of user. One of APP_INSTANCE_ID, CLIENT_ID or USER_ID. |
|
id.userId |
string |
The User's id. |
|
kind |
string |
Value is "analytics#userDeletionRequest". |
|
propertyId |
string |
Property ID of a GA4 Property, or Internal Web Property ID. |
|
webPropertyId |
string |
Web property ID of the form UA-XXXXX-YY. |
|
Methods
- upsert
- Insert or update a user deletion request.
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 2024-10-09 UTC.
[null,null,["Last updated 2024-10-09 UTC."],[[["\u003cp\u003eThis resource outlines the format and properties associated with user deletion requests in Google Analytics.\u003c/p\u003e\n"],["\u003cp\u003eA user deletion request includes details like \u003ccode\u003edeletionRequestTime\u003c/code\u003e, \u003ccode\u003efirebaseProjectId\u003c/code\u003e, user ID (\u003ccode\u003eid\u003c/code\u003e), \u003ccode\u003ekind\u003c/code\u003e, \u003ccode\u003epropertyId\u003c/code\u003e, and \u003ccode\u003ewebPropertyId\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eid\u003c/code\u003e object further specifies the user type and the actual user ID.\u003c/p\u003e\n"],["\u003cp\u003eYou can insert or update user deletion requests using the \u003ccode\u003eupsert\u003c/code\u003e method.\u003c/p\u003e\n"]]],["The provided content describes the structure and properties of a user deletion request in Google Analytics. Key data includes the `deletionRequestTime`, `propertyId` (or `webPropertyId`/`firebaseProjectId`), and a user `id` containing the `type` (e.g., CLIENT_ID) and `userId`. The `kind` field indicates the request type. The document also specifies an \"upsert\" method to insert or update a user deletion request.\n"],null,["# UserDeletion.userDeletionRequest\n\n\u003cbr /\u003e\n\nFor a list of [methods](#methods) for this resource, see the end of this page.\n\nResource representations\n------------------------\n\n\u003cbr /\u003e\n\n```carbon\n{\n \"kind\": \"analytics#userDeletionRequest\",\n \"id\": {\n \"type\": string,\n \"userId\": string\n },\n \"webPropertyId\": string,\n \"firebaseProjectId\": string,\n \"propertyId\": string,\n \"deletionRequestTime\": datetime\n}\n```\n\n| Property name | Value | Description | Notes |\n|-----------------------|------------|----------------------------------------------------------------------------------------------|-------|\n| `deletionRequestTime` | `datetime` | This marks the point in time at which the deletion request was received by Google Analytics. | |\n| `firebaseProjectId` | `string` | Firebase Project Id (deprecated in favor of propertyId field) | |\n| `id` | `object` | User ID. | |\n| id.`type` | `string` | Type of user. One of APP_INSTANCE_ID, CLIENT_ID or USER_ID. | |\n| id.`userId` | `string` | The User's id. | |\n| `kind` | `string` | Value is \"analytics#userDeletionRequest\". | |\n| `propertyId` | `string` | Property ID of a GA4 Property, or Internal Web Property ID. | |\n| `webPropertyId` | `string` | Web property ID of the form UA-XXXXX-YY. | |\n\nMethods\n-------\n\n[upsert](/analytics/devguides/config/userdeletion/v3/reference/userDeletion/userDeletionRequest/upsert)\n: Insert or update a user deletion request."]]