Update a organization
PATCH {{baseUrl}}/organizations/:id
Updates the properties of a organization.
Request Body
{"name"=>"<string>", "owner_id"=>"<integer>", "add_time"=>"<string>", "update_time"=>"<string>", "visible_to"=>"<integer>", "label_ids"=>["<integer>", "<integer>"]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"success":true,"data":{"id":1,"name":"Organization Name","owner_id":1,"org_id":1,"add_time":"2021-01-01T00:00:00Z","update_time":"2021-01-01T00:00:00Z","address":{"value":"123 Main St","country":"USA","admin_area_level_1":"CA","admin_area_level_2":"Santa Clara","locality":"Sunnyvale","sublocality":"Downtown","route":"Main St","street_number":"123","postal_code":"94085"},"is_deleted":false,"visible_to":7,"label_ids":[1,2,3],"custom_fields":{}}}