# Delete a user Delete a User with the option to delete all AssetShares belonging to that user Endpoint: POST /user-deletes Version: 2.0.0 Security: bearerToken ## Request fields (application/json): - `id` (string) The unique ID of the [User](#tag/Users) or the User's email Example: "cfb665ca-ce35-4418-b9d5-70ee815db4bd" - `deleteAssetShares` (boolean) Whether to delete all [AssetShares](#tag/Asset-Shares) belonging to the [User](#tag/Users) Example: true ## Response 4XX fields (application/json): - `timestamp` (string) The datetime that the error occurred in ISO offset format Example: "2021-02-16T16:21:58.640+00:00" - `status` (integer) The HTTP status code of the error Example: 401 - `error` (string) The title of the error Example: "Unauthorized" - `message` (string) A more detailed error message - `path` (string) The path that was called which led to the error Example: "/folder-settings" ## Response 204 fields