Skip to main content

Update Employee File


PUT /services/api/v1/employee_files/{id}

Updates an existing employee file.

Parameters

ParameterTypeDescription
idstringThe ID of the employee file.

Request Body

{
"file_url": "https://onboard.org/file2.txt",
"employee_file_category_id": "RrB7LYD2",
"date": "02/02/2025",
"name": "name2.txt",
}

Response

The updated employee file.

{
"id": "Oxz0RGYk",
"employee_id": "A96eZlzn",
"employee_file_category_id": "RrB7LYD2",
"date": "2025-02-02",
"display_name": "name2.txt",
"name": "name2.txt",
"file_url": "http://onboard.org/file2.txt",
"file_name": "file2.txt",
"file_size": 4,
"file_content_type": "text/plain",
"created_at": "2025-04-29T13:57:22.171Z",
"updated_at": "2025-05-13T11:10:45.977Z"
}