code: func (s *CA) DeleteCertAuthority(id services.CertAuthID) error {
  	if err := id.Check(); err != nil {
  		return trace.Wrap(err)
  	}
  	// when removing a services.CertAuthority also remove any deactivated
  	// services.CertAuthority as well if they exist.
  	err := s.Delete(context.TODO(), backend.Key(authoritiesPrefix, deactivatedPrefix, string(id.Type), id.DomainName))
  	if err != nil {
  		if !trace.IsNotFound(err) {
  			return trace.Wrap(err)
  		}
  	}
  	err = s.Delete(context.TODO(), backend.Key(authoritiesPrefix, string(id.Type), id.DomainName))
  	if err != nil {
  		return trace.Wrap(err)
  	}
  	return nil
  }
docs: // DeleteCertAuthority deletes particular certificate authority