Sign in

Update file by ID

documented

Update file metadata by ID.

POST /Files/{FileId}Filesno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://api.xero.com/files.xro/1.0/Files/{{$FileId}}" \
  -X PUT \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "xero-tenant-id: {{$XERO_TENANT_ID}}" \
  -H "Idempotency-Key: {{$IDEMPOTENCY_KEY}}" \
  -d '{"name": "{{$name}}", "description": "{{$description}}"}'