Update Project User
update_project_userUpdate an existing project user's directory record. Modify only the fields that need to change, such as name, contact info, or activation status.
Instructions
Updates the specified project user. The country_code and state_code parameter values must conform to the ISO-3166 Alpha-2 specification. See Working with Country Codes for additional information. For OK responses with null values, the key will not be returned. Note: The is_active parameter value requires a boolean value to be passed in. Setting this parameter to false deactivates the user. If you have deactivated a user by setting is_active to false an... Use this to update an existing Directory records (only the supplied fields are changed). Updates the specified Directory records and returns the modified object on success. Required parameters: project_id, id. Procore API: Core > Directory. Endpoint: PATCH /rest/v1.0/projects/{project_id}/users/{id}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | URL path parameter — unique identifier for the project. | |
| id | Yes | URL path parameter — unique identifier of the Directory resource | |
| run_configurable_validations | No | Query string parameter — if true, validations are run for the corresponding Configurable Field Set. | |
| abbreviated_name | No | JSON request body field — the Initials of the Project User | |
| address | No | JSON request body field — the street Address of the Project User | |
| avatar | No | JSON request body field — project User Avatar. 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. | |
| business_phone | No | JSON request body field — the Business Phone number of the Project User | |
| business_phone_extension | No | JSON request body field — the Business Phone Extension of the Project User | |
| city | No | JSON request body field — the City in which the Project User resides | |
| country_code | No | JSON request body field — the Country Code of the Project User (ISO-3166 Alpha-2 format) | |
| email_address | No | JSON request body field — the Email Address of the Project User | |
| email_signature | No | JSON request body field — the Email Signature of the Project User | |
| employee_id | No | JSON request body field — the Employee ID of the Project User | |
| fax_number | No | JSON request body field — the Fax Number of the Project User | |
| first_name | No | JSON request body field — the First Name of the Project User | |
| is_active | No | JSON request body field — the Active status of the Project User | |
| is_employee | No | JSON request body field — the Employee status of the Project User | |
| job_title | No | JSON request body field — the Job Title of the Project User | |
| last_name | No | JSON request body field — the Last Name of the Project User | |
| mobile_phone | No | JSON request body field — the Mobile Phone number of the Project User | |
| notes | No | JSON request body field — the Notes (notes/keywords/tags) of the Project User | |
| state_code | No | JSON request body field — the State Code of the Project User (ISO-3166 Alpha-2 format) | |
| vendor_id | No | JSON request body field — the Vendor ID of the Project User | |
| zip | No | JSON request body field — the Zip Code of the Project User |