Delete User
Endpoints
Delete User
Soft delete a user from the system
DELETE
Delete User
Endpoint
Path Parameters
Unique user identifier.Example:
0f4df2de-fffb-4a24-9891-381ecf4f0f87Response
This endpoint returns no content on success (HTTP 204).Status Codes
User deleted successfully
User with the specified ID does not exist
An unexpected error occurred
Example Request
Example Response
Success (204 No Content): No response body is returned. Only the HTTP status code 204 is sent.Error Response Example
User Not Found (404)
Notes
- This operation performs a soft delete, meaning the user record is marked as deleted but remains in the database
- Deleted users will not appear in standard user queries
- The deletion is idempotent - deleting an already deleted user returns 404
- Consider implementing a restore endpoint if you need to recover soft-deleted users