Fortinet white logo
Fortinet white logo

Delete site

Delete site

Method

URL

Description

Arguments

Outputs

DELETE

device/site/group/

Delete sites

None

JSON array

Arguments (URL)

None

Arguments (JSON payload)

Parameter

Type

Description

sites

array

List of site IDs to delete

Outputs

None.

Example request

curl -k -X DELETE -H "Content-Type: application/json" -H "Authorization: Token

7f89ef48dc5bca218a8ac0268653ffafa74ce6a6ed7a8a703e113b13219b18a6" -d

'{"sites":[1, 2, 4]}' "https://<ip_address>/fpc/v1/api/device/site/group/"

Example response

{

}

Delete site

Delete site

Method

URL

Description

Arguments

Outputs

DELETE

device/site/group/

Delete sites

None

JSON array

Arguments (URL)

None

Arguments (JSON payload)

Parameter

Type

Description

sites

array

List of site IDs to delete

Outputs

None.

Example request

curl -k -X DELETE -H "Content-Type: application/json" -H "Authorization: Token

7f89ef48dc5bca218a8ac0268653ffafa74ce6a6ed7a8a703e113b13219b18a6" -d

'{"sites":[1, 2, 4]}' "https://<ip_address>/fpc/v1/api/device/site/group/"

Example response

{

}