code: def service_delete(service_id=None, name=None, profile=None, **connection_args):
      '''
      Delete a service from Keystone service catalog
  
      CLI Examples:
  
      .. code-block:: bash
  
          salt '*' keystone.service_delete c965f79c4f864eaaa9c3b41904e67082
          salt '*' keystone.service_delete name=nova
      '''
      kstone = auth(profile, **connection_args)
      if name:
          service_id = service_get(name=name, profile=profile,
                                   **connection_args)[name]['id']
      kstone.services.delete(service_id)
      return 'Keystone service ID "{0}" deleted'.format(service_idf service_delete(service_id=None, name=None, profile=None, **connection_args):
      '''
      Delete a service from Keystone service catalog
  
      CLI Examples:
  
      .. code-block:: bash
  
          salt '*' keystone.service_delete c965f79c4f864eaaa9c3b41904e67082
          salt '*' keystone.service_delete name=nova
      '''
      kstone = auth(profile, **connection_args)
      if name:
          service_id = service_get(name=name, profile=profile,
                                   **connection_args)[name]['id']
      kstone.services.delete(service_id)
      return 'Keystone service ID "{0}" deleted'.format(service_id)
docs: Delete a service from Keystone service catalog
  
      CLI Examples:
  
      .. code-block:: bash
  
          salt '*' keystone.service_delete c965f79c4f864eaaa9c3b41904e67082
          salt '*' keystone.service_delete name=nova