Skip to main content
DELETE
folders
/
{folder_id}
curl -X DELETE "https://postsyncer.com/api/v1/folders/42" \
  -H "Authorization: Bearer YOUR_API_TOKEN"
{
  "message": "<string>"
}

Delete folder

Deletes the folder. Depending on database rules, nested folders and media tied to this folder may be removed as well (cascade). Ensure nothing important remains in the folder.

Request

folder_id
integer
required
The id of the folder to delete (same as the id field on the folder)
Requires the posts ability.
curl -X DELETE "https://postsyncer.com/api/v1/folders/42" \
  -H "Authorization: Bearer YOUR_API_TOKEN"

Response

message
string
Success message