Delete
Prod
https://api.everabyte.io/api
Prod
https://api.everabyte.io/api
DELETE
https://api.everabyte.io/api
/folder/delete/{folderId}
DELETE
folderId
(required): The ID of the folder to be deleted. Example: f7a8b9c0-d1e2-3f4a-5b6c-7d8e9f0a1b2c
{
"trash": "soft" // or "hard"
}
trash
(optional, string, default: "soft"
): Specifies the type of deletion."soft"
: Moves the folder to the trash (soft delete)."hard"
: Permanently deletes the folder (hard delete).DELETE /folder/delete/f7a8b9c0-d1e2-3f4a-5b6c-7d8e9f0a1b2c
Content-Type: application/json
{
"trash": "soft"
}
f7a8b9c0-d1e2-3f4a-5b6c-7d8e9f0a1b2c
to the trash.DELETE /folder/delete/f7a8b9c0-d1e2-3f4a-5b6c-7d8e9f0a1b2c
Content-Type: application/json
{
"trash": "hard"
}
f7a8b9c0-d1e2-3f4a-5b6c-7d8e9f0a1b2c
.DELETE /folder/delete/f7a8b9c0-d1e2-3f4a-5b6c-7d8e9f0a1b2c
f7a8b9c0-d1e2-3f4a-5b6c-7d8e9f0a1b2c
to the trash (using the default soft
delete behavior).200 OK
: Folder successfully deleted (either soft or hard).204 No Content
: Folder successfully deleted (alternative for successful deletion, especially for hard deletes).400 Bad Request
: Invalid request body (e.g., invalid trash
value).404 Not Found
: Folder not found.500 Internal Server Error
: Server error.Request
Query Params
trash
string
optional
Example:
soft
Body Params application/json