Base URL:Modify Base URL

Search (SHIFT+S)




New in this release

Modify Base URL

PUT /object/baseurl/{id}

Updates the Base URL for the specified Base URL identifier.

idBase URL identifier that needs to be updated

Required Roles

  • SYSTEM_ADMIN


Request Payload

All parameters are required unless otherwise stated.

Field Description Type Notes
<object_base_url_update>
<name> Name for this Base-URL String
<base_url> Base URL to be used String
<is_namespace_in_host> Set true if namespace is in host, false otherwise Boolean Valid Values:
  •  true
  •  false
</object_base_url_update>

Response Body

Response indicating Success or Failure to update Base URL details


Examples

Request
PUT https://192.168.0.0:4443/object/baseurl/urn:storageos:ObjectBaseUrl:89116eb1-bc3d-4b35-96b0-5929edd3b194: HTTP/1.1

Content-Type: application/xml
X-SDS-AUTH-TOKEN: <AUTH_TOKEN>
<?xml version="1.0" encoding="UTF-8"?>
<object_base_url_update>
   <name>TestBaseURL</name>
   <base_url>emc.com</base_url>
   <is_namespace_in_host>false</is_namespace_in_host>
</object_base_url_update>
Response
HTTP/1.1 200 OK
Content-Type: application/xml
Notes: