Delete a folder and move its contents up
DELETE
/v1/asset-folders/{folder_id}await bird.assets.folders.delete("asf_01krdgeqcxet5s7t44vh8rt9mg");client.assets.folders.delete("asf_01krdgeqcxet5s7t44vh8rt9mg")if err := client.Assets.Folders.Delete(context.Background(), "asf_01krdgeqcxet5s7t44vh8rt9mg"); err != nil {
log.Fatal(err)
}$bird->assets->folders->delete('asf_01krdgeqcxet5s7t44vh8rt9mg');bird assets folders delete <folder-id> --yescurl -X DELETE "https://us1.platform.bird.com/v1/asset-folders/{folder_id}" \
-H "Authorization: Bearer $TOKEN"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.
Parameters
folder_idstringID of the asset folder.
Related resources
Continue with the documentation, guides and examples for this topic.