---
title: "deleteBlog"
canonical: "https://support.appfire.com/space/PSCONF/15303660/deleteBlog"
format: markdown
---
> Macro (aura-html)

> Macro (table-plus)
> 
> |  |  |  |  |
> | --- | --- | --- | --- |
> | **Syntax** | deleteBlog(blogId) | **Package** |  |
> | **Alias** |  | **Pkg Usage** |  |

## Description

> Macro (excerpt)
> 
> Places the selected blog in the trash.

Places the selected blog in the trash.

## Return Type

**Boolean (true/false)**

A "true" return value means the blog is in trash can.

## Example

```javascript
boolean deleted = deleteBlog(11801);
print("Return " + deleted);
```

Print Return true

## See also

> Macro (contentbylabel)