Update a VDOM alias
Method |
URL |
Description |
Arguments |
Outputs |
---|---|---|---|---|
POST |
device/vdom/site/update_alias/ |
Update a VDOM alias |
None |
JSON array |
Arguments (URL)
None
Arguments (JSON payload)
Parameter |
Type |
Description |
---|---|---|
vdomId |
int |
VDOM ID |
alias |
string |
The new VDOM alias |
Outputs
Parameter |
Type |
Description |
---|---|---|
status |
JSON array |
A response message indicating success or failure. |
Example request
curl -k -X POST -H "Content-Type: application/json" -H "Authorization: Token 7f89ef48dc5bca218a8ac0268653ffafa74ce6a6ed7a8a703e113b13219b18a6" -d '{"vdomId":53,"alias":"vdom_alias"}' "https://<ip_address>/fpc/v1/api/device/vdom/site/update_alias/"
Example response
{
"status" : {
"code" : 0,
"message" : "success"
}
}