AI-generated Key Takeaways
-
This operation deletes a user from a Merchant Center account, requiring admin access and the user cannot be the last admin or managed by Business Manager.
-
The HTTP request is a DELETE request sent to the specified URL with the account and user information in the path.
-
An empty request body is required and a successful deletion results in an empty JSON object response.
-
Authorization is necessary using the
https://www.googleapis.com/auth/content
OAuth scope.
Deletes a Merchant Center account user. Executing this method requires admin access. The user to be deleted can't be the last admin user of that account. Also a user is protected from deletion if it is managed by Business Manager"
HTTP request
DELETE https://merchantapi.googleapis.com/accounts/v1beta/{name=accounts/*/users/*}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
name |
Required. The name of the user to delete. Format: It is also possible to delete the user corresponding to the caller by using |
Request body
The request body must be empty.
Response body
If successful, the response body is an empty JSON object.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/content
For more information, see the OAuth 2.0 Overview.