---
title: "Synchronize with parent rights"
method: POST
path: "/2/drive/{drive_id}/files/{file_id}/access/sync-parent"
tags: ["Drive > Files > File/Directory > Access"]
---

# Synchronize with parent rights

`POST /2/drive/{drive_id}/files/{file_id}/access/sync-parent`

Retrieve the parent access rights and apply them to the current file.
Any further update on parent access rights will be propagated to this file, unless its access rights have been changed.

## Path parameters

- `drive_id` integer, required
- `file_id` integer, required

## Response `200`

OK

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

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `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/158a854b0c7d/schema)
