curl --request PATCH \
--url https://app.aiinsurance.io/api/v1/external/companies/{companyId}/folders/{folderId} \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "Archived Claims"
}
'{
"id": "550e8400-e29b-41d4-a716-446655440001",
"name": "Archived Claims",
"parentFolderId": null,
"category": null,
"createdAt": "2026-01-15T10:30:00.000Z"
}Company Files
Rename or Move Folder
Renames a folder, moves it to a different parent, or both. Send only the fields you want to change.
Set parentFolderId to a folder ID to move the folder, or to null to
move it to the root level.
Required permission: company.file:update
PATCH
/
api
/
v1
/
external
/
companies
/
{companyId}
/
folders
/
{folderId}
curl --request PATCH \
--url https://app.aiinsurance.io/api/v1/external/companies/{companyId}/folders/{folderId} \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "Archived Claims"
}
'{
"id": "550e8400-e29b-41d4-a716-446655440001",
"name": "Archived Claims",
"parentFolderId": null,
"category": null,
"createdAt": "2026-01-15T10:30:00.000Z"
}Authorizations
API key authentication. Include your API key in the Authorization header.
Path Parameters
Company identifier
Folder identifier
Body
application/json
Response
Folder updated successfully
Was this page helpful?
