Skip to main content

We've Moved!

Product Documentation has moved to docs.hitachivantara.com
Hitachi Vantara Knowledge

Modify snapshot rule name of an object replication policy

Modifies the snapshot rule name of an object replication policy.

This API call has changed in version 8.

HTTP request syntax (URI)
PATCH <base_URI>/v8/storage/object-replication-policies/{objectReplicationPolicyObjectId}/snapshot-rule-name
Parameters
Name Type Required Values Description
objectReplicationPolicyObjectId URI_PARAM Y string ID of an object replication policy object.
sourceSnapshotRuleName BODY Y string Source snapshot rule name.
destinationSnapshotRuleName BODY Y string Destination snapshot rule name.
Return codes
Code Data Description
204 No Data An object replication policy was updated successfully.
400 Error Message Missing or invalid request contents.
403Error MessageOperation forbidden by access level.
404 Error Message Requested resource not found.
500 Error message Error associated with the storage system.

Any HTTP status code other than 204 indicates that the API did not complete successfully.

Request example
curl -vk -H "X-Api-Key: zrxvSDAv9x.RIP4gkmKarG3beF.or.4Tc2im7oeqYN88C9XPGHxbXC" https://172.17.11.11:8444/v8/storage/object-replication-policies/63326261363039652d643564382d313164332d396430332d3439653162623836346232333a3a3a303a3a3a4f49445f24232140255f56/snapshot-rule-name -X PATCH -d '{"sourceSnapshotRuleName":"abc", "destinationSnapshotRuleName":"xyz"}'
Response example
HTTP/1.1 204 No Content

 

  • Was this article helpful?