Skip to content

Commit

Permalink
update delete folder
Browse files Browse the repository at this point in the history
  • Loading branch information
mordka committed Oct 17, 2017
1 parent 25df698 commit 3e17249
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion source/includes/_library.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,21 @@ Delete objects stored in S3.
#### Parameters
Name | Type | Constraints | Description
--------|-------|--------- | ------
objectKeys | string | required| list of keys to delete
objectKeys | string | required| list of keys to delete or foldername (read below)

```
Payload {
objectKeys: ['key1', 'key2']
}
```

<aside class="notice">
The endpoint is capable of deleting files or a folder. To delete a folder just pass folder path ending with '/' as an array.
It's not possible to delete multiple folders in one request.
</aside>

```
Delete folder payload {
objectKeys: ['path/to/folder/']
}
```

0 comments on commit 3e17249

Please sign in to comment.