deleteUser

@Delete(value = "{id}/")
open override fun deleteUser(@PathVariable id: String): HttpResponse<DeleteUserResponse>

Handles DELETE users/{id}/.

Validates the incoming identifier and delegates deletion to the application layer. The endpoint returns the deleted user payload when the operation succeeds.

Return

An HTTP response indicating whether the user was deleted.

Parameters

id

The user identifier from the path.