Fortinet white logo
Fortinet white logo

Update a VDOM alias

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 (site)

Parameter

Type

Description

results

JSON array

??

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"

}

}

Update a VDOM alias

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 (site)

Parameter

Type

Description

results

JSON array

??

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"

}

}