Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

PowerScale OneFS API Reference

PDF

Modify a replication policy

You can modify a replication policy on the file system.

Request example

PUT	/platform/14/sync/policies/myNewPolicy
	Authorization: Basic QWxhZGRpbjpvcGVuIHN1c2FtZQ==

	{
		'target_compare_initial_sync': True, 
		'enabled': True, 
		'description': 'New policy', 
		'target_host': 'newHostname'
	}

Response examples

The request was successful. No message body is returned for this request.

	204 No Content
	content-type: text/plain, 
	allow: 'DELETE, GET, PUT, HEAD'

In the following example, the policy was not modified and an error message was returned.

500 Internal Server Error
Content-type: application/json, 
Allow: 'DELETE, GET, PUT, HEAD'

	{
		"errors":[
			{
			"code":"AEC_BAD_REQUEST",
			"field":"source_network",
			"message":"Flexnet subnet not found"
			}
		]
	}

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\