Fortinet white logo
Fortinet white logo

Update contact information for an organization

Update contact information for an organization

Method

URL

Description

Arguments

Outputs

PATCH

account/organization/contact/{organization ID}/

Update contact information for an 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

Name of the customer

address_1

string

N

Physical address line 1

address_2

string

N

Physical address line 2

city

string

N

City

state

string

N

State or province

country

string

N

Country

zip

string

N

Zip or postal code

phone

string

N

Contact phone number

fax

string

N

Contact fax number

Outputs

Parameter

Type

Description

name

string

Name of the customer

address_1

string

Physical address line 1

address_2

string

Physical address line 2

city

string

City

state

string

State or province

country

string

Country

zip

string

Zip or postal code

phone

string

Contact phone number

fax

string

Contact fax number

Example request

curl -k -X PATCH -H "Content-Type: application/json" -H "Authorization: Token 9fb3fa217a23edbf50c8c358dab61beb07f6e8a191ecc597568f45e9455846e6" -d '{"name":"New Name"}' "https://<ip_address>/fpc/v1/api/account/organization/contact/1/"

Example response

{

"address1" : "123",

"address2" : "",

"city" : "",

"country" : "",

"fax" : "",

"name" : "New Name",

"phone" : "",

"state" : "",

"zip" : ""

}

Update contact information for an organization

Update contact information for an organization

Method

URL

Description

Arguments

Outputs

PATCH

account/organization/contact/{organization ID}/

Update contact information for an 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

Name of the customer

address_1

string

N

Physical address line 1

address_2

string

N

Physical address line 2

city

string

N

City

state

string

N

State or province

country

string

N

Country

zip

string

N

Zip or postal code

phone

string

N

Contact phone number

fax

string

N

Contact fax number

Outputs

Parameter

Type

Description

name

string

Name of the customer

address_1

string

Physical address line 1

address_2

string

Physical address line 2

city

string

City

state

string

State or province

country

string

Country

zip

string

Zip or postal code

phone

string

Contact phone number

fax

string

Contact fax number

Example request

curl -k -X PATCH -H "Content-Type: application/json" -H "Authorization: Token 9fb3fa217a23edbf50c8c358dab61beb07f6e8a191ecc597568f45e9455846e6" -d '{"name":"New Name"}' "https://<ip_address>/fpc/v1/api/account/organization/contact/1/"

Example response

{

"address1" : "123",

"address2" : "",

"city" : "",

"country" : "",

"fax" : "",

"name" : "New Name",

"phone" : "",

"state" : "",

"zip" : ""

}