FOLDERS


METHOD

/api/folders/delete.php

This method deletes a folder from Cranked.


ENDPOINT

http://cranked_installation_url/api/folders/delete.php


PARAMETERS POST

PARAMETER DEFAULT REQUIRED NOTES
api_key null Yes API key can be retrieved from /api/auth/login.php
folder_id null Yes Required for Cranked to know which folder to delete.

SUCCESS RESPONSE

{"result":"success"}

ERROR RESPONSE

ERROR MESSAGE NOTES
No data passed API was called but no data were passed
API key not passed The required API key was not passed into the call
Invalid API key The API key was passed into the call but is invalid
folder_id not passed No folder_id was passed into the call.