---
title: "Delete Folder User Collaborator"
method: DELETE
path: "/v1/folders/{id}/shares/users/{userId}"
tags: ["Folders Collaboration"]
---

# Delete Folder User Collaborator

`DELETE /v1/folders/{id}/shares/users/{userId}`

Revokes a user's direct collaborator access to a given folder. The user may still have access to the folder through other means such as shared folders. This action cannot be used to revoke access from the folder owner.

## Path parameters

- `id` number, required
- `userId` number, required

## Response `204`

No Content when the user's collaborator record on the folder was successfully deleted.

## Other responses

- `400` — Bad Request when removing the user would leave a project folder without an owner. Promote another user to owner on the project first, then retry.
- `403` — Forbidden * if the token does not have permission to the folder, or if the folder has been deleted or does not exist. * when attempting to revoke the collaboration for the folder owner.

---

[API](https://skmtc.net/lucid/apis/lucid-rest-api.md) · [All operations](https://skmtc.net/lucid/apis/lucid-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/lucid/lucid-rest-api/revisions/6a32cb9e1aa7/schema)
