ONTAP Rest API Discussions

"snapmirror release" Rest API

ogatat
802 Views

Hi,

What is the "snapmirror release" Rest API?

 

I tried the followings.

1. "snapmirror delete" command without "snapmirror release"

2.  Execute "SnapmirrorRelationship.delete_collection( uuid="*")" API.

 

But I could see relationship using "snapmirrror list-destinations" commnad.

 

2 REPLIES 2

Twesha
729 Views

Hi ,

The DELETE on /snapmirror/relationships/{uuid} should handle the snapmirror release and snapmirror delete. When you tried the API, did it not work for you?

ogatat
702 Views

Hi,

After snapmirror delete" without "snapmirror release":

 

I used "delete" method instead of "delete_collection". But I could not delete relationship.

In this condition, also I could NOT get any relationship using "SnapmirrorRelationship.get_collection()"

 

ogatat_0-1700097086311.png

 

 

 

 

 

Public