DELETE
/api/v1/users/{user}Delete a user
Deletes a user. Set force to true to delete the user even when associated data exists; otherwise, the user is deleted without that override.
userstringrequired
The user resource name identifying the user to delete.
forcebooleanoptional
Set to true to delete the user even if they have associated data.
200Confirms that the user was deleted.
defaultDefault error response
codeintegeroptional
The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
messagestringoptional
A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
detailsarray<object>optional
A list of messages that carry the error details. There is a common set of message types for APIs to use.
Error handling
The user path parameter identifies the user resource to delete. Set force to true if you want deletion to proceed even when the user has associated data.
