Is there any Universal Connector CLI to delete binary relationship between a Service and CI?

Document ID : KB000009371
Last Modified Date : 14/02/2018
Show Technical Document Details
Introduction:

When deleting a binary relationship between a Service and CI using a command line interface, can the GCEventAddCMD command be used or any other method?

Background:

Procedure to delete a binary relationship between a CI & Service

Environment:
WindowsSOI 3.3 & 4.0
Instructions:

Solution:

There is no such command to delete binary relationship between a Service and CI. There is a command 'WSSamRelationshipCmd' to update the significance value of a relationship only. Also, the GCEventAddCMD cannot delete these relationships. However, you may use Web Services to delete the binary relationship but not via any of the existing command line utility. Please refer to the 'Web Services Reference' guide, page no.33.

Delete a Relationship

Use the Delete operation to delete a relationship. Pass the USM properties of the relationship to delete in the body of the request.

Note: For information about the required properties to include for a relationship, see the USM schema documentation.

To delete a relationship, use the following properties in the request:

Operation: Delete

Endpointhttp://samanager:port/sam/webservice

Resourcehttp://ns.ca.com/2009/07/usm-core/BinaryRelationship

Selector: Null

This can be done by SOAP-UI.