Hi Chandra,

The relationship-list API is special and a bit different from other sub-object 
relationships. The PUT does allow creation of individual relationships, but 
there is no corresponding GET or DELETE for relationships.

To GET the relationships, you can GET the containing object with depth=1 and 
then parse the result to fetch the relationship-list part.

To DELETE the relationships, you can PUT the containing object with an embedded 
relationship-list data to fully replace the list, so the data that is left out 
will be effectively deleted.

See also 
https://docs.onap.org/en/casablanca/submodules/aai/aai-common.git/docs/AAI%20REST%20API%20Documentation/AAIRESTAPI_CASABLANCA.html#a-warning-about-put-and-lists


Keong

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#16948): https://lists.onap.org/g/onap-discuss/message/16948
Mute This Topic: https://lists.onap.org/mt/31533321/21656
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to