Fortinet white logo
Fortinet white logo

List all organizations

List all organizations

Method

URL

Description

Arguments

Outputs

GET

account/organizations/

List all organizations

none

JSON array

Arguments

None

Outputs

Parameter

Type

Description

results

JSON array

Array of organizations. One entry per organization, each record contains a unique ID.

Example request

curl -k -X GET -H "Authorization: Token 9fb3fa217a23edbf50c8c358dab61beb07f6e8a191ecc597568f45e9455846e6" https://<ip_address>/fpc/v1/api/account/organizations/

Example response

{

"data" : {

"results" : [

{

"adom_version_num" : [],

"device_count" : 0,

"id" : 1,

"name" : "TeSt2",

"reports" : {

"assigned" : 0,

"total" : 0

},

"site_count" : 0,

"status" : []

}

],

"totalResultsCount" : 1

},

"status" : {

"code" : 0,

"message" : "success"

}

}

List all organizations

List all organizations

Method

URL

Description

Arguments

Outputs

GET

account/organizations/

List all organizations

none

JSON array

Arguments

None

Outputs

Parameter

Type

Description

results

JSON array

Array of organizations. One entry per organization, each record contains a unique ID.

Example request

curl -k -X GET -H "Authorization: Token 9fb3fa217a23edbf50c8c358dab61beb07f6e8a191ecc597568f45e9455846e6" https://<ip_address>/fpc/v1/api/account/organizations/

Example response

{

"data" : {

"results" : [

{

"adom_version_num" : [],

"device_count" : 0,

"id" : 1,

"name" : "TeSt2",

"reports" : {

"assigned" : 0,

"total" : 0

},

"site_count" : 0,

"status" : []

}

],

"totalResultsCount" : 1

},

"status" : {

"code" : 0,

"message" : "success"

}

}