def departments_name_delete(self, name, **kwargs):
        "https://developer.zendesk.com/rest_api/docs/chat/departments#delete-department-by-name"
        api_path = "/api/v2/departments/name/{name}"
        api_path = api_path.format(name=name)
        return self.call(api_path, method="DELETE", **kwargs)
https://developer.zendesk.com/rest_api/docs/chat/departments#delete-department-by-name