Update Company Person
update_company_personUpdate an existing company person's directory record in Procore by providing company ID, person ID, and last name. Modify optional fields like first name, job title, or employee ID.
Instructions
Update the specified Company Person. 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: company_id, id, last_name. Procore API: Core > Directory. Endpoint: PATCH /rest/v1.0/companies/{company_id}/people/{id}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| company_id | Yes | URL path parameter — unique identifier for the Procore company | |
| id | Yes | URL path parameter — unique identifier of the Directory resource | |
| view | No | Query string parameter — specifies which view of the resource to return (which attributes should be present in the response). If a valid view is not provided, it will default to normal. | |
| first_name | No | JSON request body field — the First Name of the Company Person | |
| last_name | Yes | JSON request body field — the Last Name of the Company Person | |
| is_employee | No | JSON request body field — the Employee status of the Company Person | |
| employee_id | No | JSON request body field — the Employee ID of the Company Person | |
| active | No | JSON request body field — the active status of the Company Person | |
| origin_id | No | JSON request body field — the Origin ID of the Company User | |
| job_title | No | JSON request body field — the Job Title of the Company Person | |
| work_classification_id | No | JSON request body field — the unique identifier for the work classification of the Company Person. |