Fortinet white logo
Fortinet white logo

Get organization users

Get organization users

Method

URL

Description

Arguments

Outputs

GET

account/organization/users/

List all users for a particular organization

Organization unique identifier

JSON array

Arguments (JSON payload)

None

Outputs

Parameter

Type

Description

results

JSON array

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

Example request

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

Example response

{

"results" : [

{

"address1" : "",

"address2" : "",

"auth_backend" : "local",

"city" : "",

"country" : "",

"customer" : 1,

"email" : "test@test2.com",

"fax" : "",

"first_name" : "Test",

"global_two_factor_enabled" : false,

"id" : 15,

"is_active" : true,

"last_name" : "User",

"phone" : "",

"pwdEnable" : false,

"pwdLength" : 8,

"pwdLowercase" : false,

"pwdNumbers" : false,

"pwdSpecialcharacters" : false,

"pwdUppercase" : false,

"role" : {

"id" : 2,

"name" : "Customer Admin",

"service_provider" : 1,

"service_type" : "Customer"

},

"service_provider" : 1,

"sites" : [

2

],

"state" : "",

"two_factor_enabled" : false,

"username" : "test@test2.com",

"zip" : ""

}

],

"size" : 10,

"start" : 0,

"totalResultsCount" : 1

}

Get organization users

Get organization users

Method

URL

Description

Arguments

Outputs

GET

account/organization/users/

List all users for a particular organization

Organization unique identifier

JSON array

Arguments (JSON payload)

None

Outputs

Parameter

Type

Description

results

JSON array

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

Example request

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

Example response

{

"results" : [

{

"address1" : "",

"address2" : "",

"auth_backend" : "local",

"city" : "",

"country" : "",

"customer" : 1,

"email" : "test@test2.com",

"fax" : "",

"first_name" : "Test",

"global_two_factor_enabled" : false,

"id" : 15,

"is_active" : true,

"last_name" : "User",

"phone" : "",

"pwdEnable" : false,

"pwdLength" : 8,

"pwdLowercase" : false,

"pwdNumbers" : false,

"pwdSpecialcharacters" : false,

"pwdUppercase" : false,

"role" : {

"id" : 2,

"name" : "Customer Admin",

"service_provider" : 1,

"service_type" : "Customer"

},

"service_provider" : 1,

"sites" : [

2

],

"state" : "",

"two_factor_enabled" : false,

"username" : "test@test2.com",

"zip" : ""

}

],

"size" : 10,

"start" : 0,

"totalResultsCount" : 1

}