Remove an asset from the media library
DELETE
/v1/assets/{asset_id}await bird.assets.delete("ast_01krdgeqcxet5s7t44vh8rt9mg");client.assets.delete("ast_01krdgeqcxet5s7t44vh8rt9mg")if err := client.Assets.Delete(context.Background(), "ast_01krdgeqcxet5s7t44vh8rt9mg"); err != nil {
log.Fatal(err)
}$bird->assets->delete('ast_01krdgeqcxet5s7t44vh8rt9mg');bird assets delete <asset-id> --yescurl -X DELETE "https://us1.platform.bird.com/v1/assets/{asset_id}" \
-H "Authorization: Bearer $TOKEN"Removes an asset from the library. The asset stops appearing in the library and cannot be added to new content, but its URL keeps serving so messages that already reference it continue to render. Deleting is idempotent.
Parámetros
asset_idstringID of the asset.
Recursos relacionados
Continúa con la documentación, guías y ejemplos de este tema.