Adds the domain names.
API URL
POST https://<host>/wsapis/v2.0.0/devicemgmt/mgmtinterface/domain/static?operation=create
Sample curl requests
Add single:
curl -skg -H "$auth-token" https://172.16.12.151/wsapis/v2.0.0/devicemgmt/mgmtinterface/domain
{
"static": [
"eng123.fireeye.com",
"eng222.fireeye.com"
],
"dynamic": {"name": "eng123.fireeye.com"}
}Add multiple:
curl -skg -H "$auth-token" https://172.16.12.151/wsapis/v2.0.0/devicemgmt/mgmtinterface/domain/static?operation=create -d '["eng111.fireeye.com", "eng222.fireeye.com"]' -H 'content-type:application/json'
{
"error": false,
"message": "operation successful"
}
Read-back:
curl -skg -H "$auth-token" https://172.16.12.151/wsapis/v2.0.0/devicemgmt/mgmtinterface/domain/static [ "eng123.fireeye.com", "eng111.fireeye.com", "eng222.fireeye.com" ]
Availability
This command is available on the following platforms:
Network Security
Helix Enterprise
Authentication
Standard WSAPI authentication
Response mime type
application/json