pp108 : removeUnit

removeUnit

This method removes a unit from the runtime (undeploy).

Note: This API is deprecated. Run-time content must not be directly updated/deleted. Any updates to the run-time content must be considered based on the related packages deployment/un-deployment.

SOAP Request

<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP:Body>
        <removeUnit xmlns="http://schemas.cordys.com/orgmodel/runtime/OrgModel/1.0">
            <WorkspaceID>002481F0-8E9F-11E2-EE36-A5EED1105F38</WorkspaceID>
            <unitName>college</unitName>
        </removeUnit>
    </SOAP:Body>
</SOAP:Envelope>
Request Parameters

Parameter

Description

Mandatory

Accepted Input Value

WorkspaceID Unique and valid ID of the Collaborative Workspace (CWS) No GUID or null

unitName

Name of the unit to be removed

Yes

Document ID or qualified name of the unit

SOAP Response

<removeUnitResponse xmlns="http://schemas.cordys.com/orgmodel/runtime/OrgModel/1.0">
    <removeUnit>001CC438-906D-11E2-EE38-EEEA14C33636</removeUnit>
</removeUnitResponse>
Response Parameters

Parameter

Description

removeUnit

ID of the document that was removed. If the document did not exist, an empty value is returned.