Fortinet white logo
Fortinet white logo

Unassign report templates from an organization

Unassign report templates from an organization

Method

URL

Description

Arguments

Outputs

POST

device/report/unassign

Unassign report templates

None

JSON array

Arguments (URL)

None.

Arguments

Parameter

Type

Description

customerId

int

The organization ID

reports

array

List of report IDs to unassign from the organization

Outputs

Parameter

Type

Description

status

JSON array

A success or failure message

Example request

curl -k -X POST -H "Content-Type: application/json" -H "Authorization: Token 7f89ef48dc5bca218a8ac0268653ffafa74ce6a6ed7a8a703e113b13219b18a6" -d '{"customerId":1,"reports":[297]}' "https://<ip_address>/fpc/v1/api/device/report/unassign/

Example response

{

"status" : {

"code" : 0,

"message" : "success"

}

}

Unassign report templates from an organization

Unassign report templates from an organization

Method

URL

Description

Arguments

Outputs

POST

device/report/unassign

Unassign report templates

None

JSON array

Arguments (URL)

None.

Arguments

Parameter

Type

Description

customerId

int

The organization ID

reports

array

List of report IDs to unassign from the organization

Outputs

Parameter

Type

Description

status

JSON array

A success or failure message

Example request

curl -k -X POST -H "Content-Type: application/json" -H "Authorization: Token 7f89ef48dc5bca218a8ac0268653ffafa74ce6a6ed7a8a703e113b13219b18a6" -d '{"customerId":1,"reports":[297]}' "https://<ip_address>/fpc/v1/api/device/report/unassign/

Example response

{

"status" : {

"code" : 0,

"message" : "success"

}

}