Dell Technologies ECS REST API

Search (SHIFT+S)




New in this release

Create List Of Accepted Server Names

POST /acceptedservernames/

Creates or replaces the list of accepted management server names.


Required Roles

  • SECURITY_ADMIN


Request Payload

All parameters are required unless otherwise stated.

Field Description Type Notes
accepted_server_names
server_name A list of accepted management server names String 0-* Elements

Response Body

Newly created list of accepted management server names

Field Description Type Notes
accepted_server_names
server_name A list of accepted management server names String 0-* Elements

Examples

Request
POST https://192.168.0.0:4443/acceptedservernames/ HTTP/1.1

Content-Type: application/xml
X-SDS-AUTH-TOKEN: <AUTH_TOKEN>

<accepted_server_names>
	<server_name>192.168.0.10</server_name>
	<server_name>192.168.0.11</server_name>
	<server_name>192.168.0.12</server_name>
	<server_name>192.168.0.13</server_name>
</accepted_server_names>
Response
HTTP/1.1 200 OK
Content-Type: application/xml

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<accepted_server_names>
    <server_name>192.168.0.10</server_name>
    <server_name>192.168.0.11</server_name>
    <server_name>192.168.0.12</server_name>
    <server_name>192.168.0.13</server_name>
</accepted_server_names>