Skip to main content
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"
}

Authorizations

Authorization
string
header
required

API key authentication. Send your raw API key as the Authorization header value with NO scheme prefix — Authorization: YOUR-API-KEY. Do NOT prefix it with Bearer or ApiKey, and do not use an X-API-Key header; those are not accepted.

Path Parameters

companyId
string<uuid>
required

Company identifier

folderId
string<uuid>
required

Folder identifier

Body

application/json
name
string

New folder name (must be non-empty)

parentFolderId
string<uuid> | null

New parent folder id, or null for the owner's top level

Response

Folder updated successfully

id
string<uuid>

Id of the updated folder