drive

Soft-delete a folder, canvas, or file — the app's own delete paths.

Folder deletes cascade (recursive) exactly like the app: contained canvases/files/websites soft-delete, live sites unpublish. Canvas deletes run the shared template-governance rule. Brand-kit managed content is protected where the app protects it.

delete/drive/items/{item_ref}

Request

  • Base URL
    https://api.moda.app/v1
  • URL
    https://api.moda.app/v1/drive/items/{item_ref}
  • Auth
    HTTP bearer

Path parameters

item_refstring required

Query parameters

recursiveboolean

Folders only: also delete every subfolder, canvas, file, and website inside. A non-empty folder without this is a 409 folder_not_empty.

Headers

Moda-Version'2026-04-12' | '2026-05-01'
Example:2026-05-01

Calendar-dated API version pin. New integrations should pin 2026-05-01 to opt into the newest response shapes. For back-compat the server also accepts requests with no header and resolves them to the current default (today: 2026-04-12); that default advances on each sunset date. Any unsupported value returns 400 unsupported_version.

Response

Successful Response

object required

Changes