class UserController {

    @DeleteMapping("/{userId}")
    public ResponseEntity<Response> deleteUserById(@PathVariable String userId, @RequestHeader HttpHeaders headers) {
        return ResponseEntity.ok(userService.deleteByUserId(UUID.fromString(userId), headers));
    }

}