def METHOD_NAME(self, params):
    """Delete a localization type.
    A localization type is the metadata definition object for a localization. It includes
    shape, name, description, and (like other entity types) may have any number of attribute
    types associated with it.
    """
    loc_type = LocalizationType.objects.get(pk=params["id"])
    count = delete_instances(loc_type, Localization, self.request.user, "localization")
    loc_type.delete()
    return {
        "message": f"Localization type {params['id']} (and {count} instances) deleted successfully!"
    }