/
API - Sandbox - Clear

API - Sandbox - Clear

This method empties the sandbox.

If you organise your files in sub directories such as in "folder1000\file1.dox", etc. you may selectively empty the sandbox by folder ("directoryname" set to "folder1000").

URL

(DELETE) /api/files/directory?token=&locale=sandbox&directoryname=

Please note that this is an HTTP DELETE action.

PARAMETERS

token

The session token obtained when connecting.

locale

Insert "sandbox"

directoryname

Optional. To delete a specific sub folder in the sandbox. If not specified the entire sandbox content is deleted.

You generally do not need this parameter.

RESULTS

The method returns no result. An HTTP status of 204 indicates success. Other HTTP status values indicate an error.

COMMENTS

You can also delete individual files or sub-directories in the sandbox using:

API - Delete translated content

API - Delete translated content directory

 

Related content

API - Delete translated content directory
API - Delete translated content directory
More like this
API - Delete translated content
API - Delete translated content
More like this
media/filescollection/{key}/items (DELETE)
media/filescollection/{key}/items (DELETE)
More like this
Delete folder__
Delete folder__
More like this
media/filescollection/{key}/items/file (DELETE)
media/filescollection/{key}/items/file (DELETE)
More like this
Delete folder_
Delete folder_
More like this

Copyright Wordbee - Buzzin' Outside the Box since 2008