How to delete organizations using a TEWS call
search cancel

How to delete organizations using a TEWS call

book

Article ID: 224569

calendar_today

Updated On:

Products

CA Identity Manager CA Identity Suite

Issue/Introduction

Scenario:

Below is an example of a TEWS request to remove organizations

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsdl="http://tews6/wsdl">
<soapenv:Header/>
<soapenv:Body>
<wsdl:FSSDeleteOrganization>
<wsdl:FSSDeleteOrganizationSearch>
</wsdl:FSSDeleteOrganizationSearch>
</wsdl:FSSDeleteOrganization>
</soapenv:Body>
</soapenv:Envelope>
 
The above request removes all organizations, can you specify the default organization?
 
 

Environment

Release : 14.x

Component : IdentityMinder(Identity Manager)

Resolution

You can specify a filter using the syntax below.
 
 
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsdl="http://tews6/wsdl">
  <soapenv:Header/>
  <soapenv:Body>
    <wsdl:FSSDeleteOrganization>
      <wsdl:FSSDeleteOrganizationSearch>
        <wsdl:Filter index="?">
          <wsdl:Field>%ORG_NAME%</wsdl:Field>
          <wsdl:Op>EQUALS</wsdl:Op>
          <wsdl:Value>MyIDM</wsdl:Value>
        </wsdl:Filter>
      </wsdl:FSSDeleteOrganizationSearch>
    </wsdl:FSSDeleteOrganization>
  </soapenv:Body>
</soapenv:Envelope>
 
 

 

Note:

If no filter is specified the default %ORG_NAME% is set to * this cannot be changed.