> ## Documentation Index
> Fetch the complete documentation index at: https://developers.argosidentity.com/llms.txt
> Use this file to discover all available pages before exploring further.

# DELETE /folders/:folderId

> 폴더와 모든 아이템을 삭제합니다.

## 엔드포인트

```
DELETE /v1/folders/{folderId}
```

## 요청

```bash theme={null}
curl -X DELETE "http://client-omni-api.argosidentity.com/v1/folders/{folderId}" \
  -H "x-api-key: your-api-key-here"
```

## 응답 (204 No Content)

응답 본문이 없습니다.

<Warning>
  **기본** 폴더는 삭제할 수 없습니다. 사용자가 생성한 폴더만 제거할 수 있습니다. 폴더를 삭제하면 내부의 모든 아이템이 영구 삭제됩니다.
</Warning>

### 에러 코드

| 상태  | 코드                             | 설명              |
| --- | ------------------------------ | --------------- |
| 400 | `CANNOT_DELETE_DEFAULT_FOLDER` | 기본 폴더는 삭제할 수 없음 |
| 404 | `FOLDER_NOT_FOUND`             | 폴더를 찾을 수 없음     |
