Endpoint

Delete User

The Delete User endpoint allows the permanent removal of a user account from the Neatcar platform. This operation requires authentication through a valid API token and can only be performed by the user associated with the token. This action is irreversible and should be used with caution.

DELETE

/user?userUUID=4d06009b-fbdb-44bb-9329-b50334bf9538

Response example

On successful deletion of the user, the response contains an empty data object, a success field set to true, and a null value for error. This confirms that the user has been securely deleted without returning additional data.

Possible errors

The following list provides a selection of possible errors that can occur when deleting a user. However, it is non-exhaustive. Developers can expect to find additional errors and data within the model, offering comprehensive information about each error.

HTTP 400

Bad Request due to missing parameters

This error is returned when the request is missing the userUUID query parameter.

Error body response example:

  
HTTP 400

Bad Request due to invalid id

The userUUID passed as a query parameter is invalid or does not exist.

Error body response example:

  
HTTP 401

Unauthorized

The API token is invalid or missing.

Error body response example:

  
HTTP 500

Internal Server Error

An unexpected error occurred while processing the request. Please try again later or contact support if the problem persists.

Error body response example: