Submits a request for user deletion for a property.
HTTP request
POST https://analyticsadmin.googleapis.com/v1alpha/{name=properties/*}:submitUserDeletion
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
name |
Required. The name of the property to submit user deletion for. |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{ // Union field |
Fields | |
---|---|
Union field user . The user to submit a deletion request for user can be only one of the following: |
|
userId |
Google Analytics user ID. |
clientId |
Google Analytics client ID. |
appInstanceId |
Firebase application instance ID. |
userProvidedData |
The un-hashed, unencrypted, user-provided data. |
Response body
Response message for properties.submitUserDeletion RPC.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{ "deletionRequestTime": string } |
Fields | |
---|---|
deletionRequestTime |
Marks the moment for which all visitor data before this point should be deleted. This is set to the time at which the deletion request was received. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/analytics.edit