analytics.user Deletion.user Deletion Request.upsert

POST {{baseUrl}}/userDeletion/userDeletionRequests:upsert?alt=<string>&fields=<string>&key=<string>&oauth_token=<string>&prettyPrint=<boolean>&quotaUser=<string>&userIp=<string>

Insert or update a user deletion requests.

Request Params

KeyDatatypeRequiredDescription
altstringData format for the response.
fieldsstringSelector specifying which fields to include in a partial response.
keystringAPI key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
oauth_tokenstringOAuth 2.0 token for the current user.
prettyPrintstringReturns response with indentations and line breaks.
quotaUserstringAn opaque string that represents a user for quota purposes. Must not exceed 40 characters.
userIpstringDeprecated. Please use quotaUser instead.

Request Body

{"firebaseProjectId"=>"<string>", "id"=>{"type"=>"<string>", "userId"=>"<string>"}, "kind"=>"analytics#userDeletionRequest", "propertyId"=>"<string>", "webPropertyId"=>"<string>"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring

RESPONSES

status: OK

{&quot;deletionRequestTime&quot;:&quot;1968-06-11T03:31:01.507Z&quot;,&quot;firebaseProjectId&quot;:&quot;\u003cstring\u003e&quot;,&quot;id&quot;:{&quot;type&quot;:&quot;\u003cstring\u003e&quot;,&quot;userId&quot;:&quot;\u003cstring\u003e&quot;},&quot;kind&quot;:&quot;analytics#userDeletionRequest&quot;,&quot;propertyId&quot;:&quot;\u003cstring\u003e&quot;,&quot;webPropertyId&quot;:&quot;\u003cstring\u003e&quot;}