---
title: "Remove association for a specific user to multiple folders"
method: DELETE
path: "/directory/v1/user/{user_id}/folders"
tags: ["Directory (Sites)"]
---

# Remove association for a specific user to multiple folders

`DELETE /directory/v1/user/{user_id}/folders`

## Request

- Base URL: `https://api.mitti.com`
- URL: `https://api.mitti.com/directory/v1/user/{user_id}/folders`
- Auth: HTTP bearer

## Path parameters

- `user_id` string, required

## Query parameters

- `folder_ids` string[], required

## Response `200`

A successful response.

- S12DirectoryV1RemoveFoldersAssociationResponse: Result returned from `RemoveFoldersAssociationResponse`
  - `folder_status` object: Map of folders ids with their resulting status after removing the user access to that folder. This map is populated with the list of folders passed in through the `RemoveFoldersAssociation` For example: <Key,Value> -> <5441fffcde344415bb7ccaceda27e196, Status>

## Other responses

- `default`: An unexpected error response.

---

[API](https://skmtc.dev/safetyculture/apis/safetyculture-api.md) - [All operations](https://skmtc.dev/safetyculture/apis/safetyculture-api/llms.txt) - [OpenAPI document](https://skmtc.dev/safetyculture/apis/safetyculture-api/revisions/eb6bb843bf18?raw)
