Fortinet black logo

Update general information for an organization

Update general information for an organization

Method

URL

Description

Arguments

Outputs

PATCH

account/organization/general /{organization ID}/

Update general information for an existing organization

Organization ID

Organization record

Arguments (URL)

Parameter

Type

Description

Organization ID

int

Organization ID

Arguments (JSON payload)

Parameter

Type

Required

Description

name

string

N

Organization name

first_name

string

N

First name of the contact person

last_name

string

N

Last name of the contact person

email

string

N

Organization contact email

Outputs

Parameter

Type

Description

name

string

Name of the customer

first_name

string

First name of the contact person

last_name

string

Last name of the contact person

email

string

Email address of the contact person

Example request

curl -k -X PATCH -H "Content-Type: application/json" -H "Authorization: Token 9fb3fa217a23edbf50c8c358dab61beb07f6e8a191ecc597568f45e9455846e6" -d '{"email":"aaa@test1.com"}' "https://<ip_address>/fpc/v1/api/account/organization/general/1/"

Example response

{

"blocked_host_enabled" : false,

"email" : "aaa@test1.com",

"first_name" : "aaa",

"global_two_factor_enabled" : false,

"last_name" : "bbb",

"locale" : "en",

"logo_image" : null,

"name" : "TeSt2",

"policy_installation_scheduler" : null,

"policy_installation_time" : null,

"policy_installation_weekday" : null,

"sso_domains" : [],

"trusted_host_enabled" : false,

"use_mssp_locale" : false,

"validate_sso_domain_pattern" : false

}

Update general information for an organization

Method

URL

Description

Arguments

Outputs

PATCH

account/organization/general /{organization ID}/

Update general information for an existing organization

Organization ID

Organization record

Arguments (URL)

Parameter

Type

Description

Organization ID

int

Organization ID

Arguments (JSON payload)

Parameter

Type

Required

Description

name

string

N

Organization name

first_name

string

N

First name of the contact person

last_name

string

N

Last name of the contact person

email

string

N

Organization contact email

Outputs

Parameter

Type

Description

name

string

Name of the customer

first_name

string

First name of the contact person

last_name

string

Last name of the contact person

email

string

Email address of the contact person

Example request

curl -k -X PATCH -H "Content-Type: application/json" -H "Authorization: Token 9fb3fa217a23edbf50c8c358dab61beb07f6e8a191ecc597568f45e9455846e6" -d '{"email":"aaa@test1.com"}' "https://<ip_address>/fpc/v1/api/account/organization/general/1/"

Example response

{

"blocked_host_enabled" : false,

"email" : "aaa@test1.com",

"first_name" : "aaa",

"global_two_factor_enabled" : false,

"last_name" : "bbb",

"locale" : "en",

"logo_image" : null,

"name" : "TeSt2",

"policy_installation_scheduler" : null,

"policy_installation_time" : null,

"policy_installation_weekday" : null,

"sso_domains" : [],

"trusted_host_enabled" : false,

"use_mssp_locale" : false,

"validate_sso_domain_pattern" : false

}