POST | /config/add/server/environment/host | Add a host environment to a server |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
server | body | string | Yes | |
ip | body | string | No | |
provider | body | Providers | Yes | Allowable Values
|
environment | body | N3TEnvironment | Yes | Allowable Values
|
Port | body | string | No | |
Protocol | body | string | Yes | |
URL | body | string | Yes | |
Name | body | string | Yes | |
User | body | string | No | |
Password | body | string | No |
vCloud | |
AWS | |
GCP | |
Azure | |
Actifio | |
Zerto | |
Veeam | |
Acronis | |
N3T | |
Auvik |
DEV | |
QA | |
UAT | |
PROD | |
DEMO | |
EXT |
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /config/add/server/environment/host HTTP/1.1
Host: n3tapi.palmettovdc.com
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"server":"String","ip":"String","provider":"vCloud","environment":"DEV","port":"String","protocol":"String","url":"String","name":"String","user":"String","password":"String"}