update_company_user_v1_3
Modify user details in Procore's company directory by updating fields like name, contact information, job title, permissions, and active status.
Instructions
Update company user. [Core/Directory] PATCH /rest/v1.3/companies/{company_id}/users/{id}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| company_id | Yes | Unique identifier for the company. | |
| id | Yes | ID of the user | |
| run_configurable_validations | No | If true, validations are run for the corresponding Configurable Field Set. | |
| first_name | No | The First Name of the Company User | |
| last_name | Yes | The Last Name of the Company User | |
| job_title | No | The Job Title of the Company User | |
| address | No | The Address of the Company User | |
| city | No | The City of the Company User | |
| zip | No | The Zip code of the Company User | |
| business_phone | No | The Business Phone of the Company User | |
| business_phone_extension | No | The Business Phone Extension of the Company User | |
| mobile_phone | No | The Mobile Phone of the Company User | |
| fax_number | No | The Fax Number of the Company User | |
| email_address | Yes | The Email Address of the Company User. Update requests including this parameter will be rejected unless the requesting user has Directory Admin permissions | |
| email_signature | No | The Email Signature of the Company User | |
| is_active | No | The Active status of the Company User | |
| is_employee | No | The Employee status of the Company User | |
| employee_id | No | The ID of the Employee of the Company User when `user[is_employee]` is set to `true` | |
| notes | No | The Notes (notes, keywords, tags) of the Company User | |
| country_code | No | The Country Code of the Company User (ISO-3166 Alpha-2 format) | |
| state_code | No | The State Code of the Company User (ISO-3166 Alpha-2 format) | |
| initials | No | The Initials of the Company User | |
| origin_id | No | The Origin ID of the Company User | |
| origin_data | No | The Origin Data of the Company User | |
| vendor_id | No | The ID of the Vendor of the Company User | |
| default_permission_template_id | No | The ID of the default Permission Template for the Company User. Requests including this parameter will be rejected unless the requesting user has Directory Admin permissions | |
| company_permission_template_id | No | The ID of the Company Permission Template for the Company User. Requests including this parameter will be rejected unless the requesting user has Directory Admin permissions | |
| work_classification_id | No | The ID of the Work Classification for the Company User | |
| avatar | No | The Avatar of the Company User. To upload avatar you must upload whole payload as `multipart/form-data` content-type and specify each parameter as form-data together with `user[avatar]` as file. | |
| add_to_new_projects | No | Whether or not this user is added to all new projects. Requests including this parameter will be rejected unless the requesting user has Directory Admin permissions |