---
title: "Update Office settings"
method: PUT
path: "/2/drive/{drive_id}/settings/office"
tags: ["Drive > Settings"]
---

# Update Office settings

`PUT /2/drive/{drive_id}/settings/office`

Update the office settings, the default opening office editor

## Path parameters

- `drive_id` integer, required

## Request body

- object
  - `form` '365' | 'onlyoffice' — List of applications.<note><strong>365</strong>: The 365 application.</note><note><strong>onlyoffice</strong>: The onlyoffice application.</note>
  - `presentation` '365' | 'onlyoffice' — List of applications.<note><strong>365</strong>: The 365 application.</note><note><strong>onlyoffice</strong>: The onlyoffice application.</note>
  - `spreadsheet` '365' | 'onlyoffice' — List of applications.<note><strong>365</strong>: The 365 application.</note><note><strong>onlyoffice</strong>: The onlyoffice application.</note>
  - `text` '365' | 'onlyoffice' — List of applications.<note><strong>365</strong>: The 365 application.</note><note><strong>onlyoffice</strong>: The onlyoffice application.</note>

## Response `200`

OK

- object
  - `result` 'success' | 'error' | 'asynchronous', required — Result of the HTTP request
  - `data` boolean

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `500` — Internal Server Error
- `503` — Service Unavailable

---

[API](https://skmtc.dev/infomaniak/apis/api-reference-developer-tools.md) · [All operations](https://skmtc.dev/infomaniak/apis/api-reference-developer-tools/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/infomaniak/api-reference-developer-tools/revisions/667aae28fec6/schema)
