Sign inGet Started

Delete a folder and move its contents up

DELETE
/v1/asset-folders/{folder_id}
await bird.assets.folders.delete("asf_01krdgeqcxet5s7t44vh8rt9mg");

Deletes a folder. Its subfolders and its assets move up one level, to the folder it sat in, so nothing is removed from the library as a side effect and no URL changes.

If a subfolder's name is already taken where it would land, the delete is refused and the response names the folders to resolve first. Deleting is idempotent.

Parámetros

folder_idstring

ID of the asset folder.