def METHOD_NAME(self, request: Request, project, version) -> Response:
    """
    Delete a Project's Release
    ``````````````````````````
    Permanently remove a release and all of its files.
    :pparam string organization_slug: the slug of the organization the
                                      release belongs to.
    :pparam string project_slug: the slug of the project to delete the
                                 release of.
    :pparam string version: the version identifier of the release.
    :auth: required
    """
    try:
        release = Release.objects.get(
            organization_id=project.organization_id, projects=project, version=version
        )
    except Release.DoesNotExist:
        raise ResourceDoesNotExist
    try:
        release.safe_delete()
    except UnsafeReleaseDeletion as e:
        return Response({"detail": str(e)}, status=400)
    return Response(status=204)