# Delete Directory

Launch stage: GA

`DELETE /api/2.0/fs/directories{directory_path}`

Deletes an empty directory.

 To delete a non-empty directory, first delete all of its contents. This can be done
 by listing the directory contents and deleting each file and subdirectory recursively.

API scopes: files

## Path parameters

- `directory_path` (string, optional)
  The absolute path of a directory.

## Response

```json
{}
```

