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

> Macro (table-plus)
> 
> |  |  |  |  |
> | --- | --- | --- | --- |
> | **Syntax** | moveBlog(blogId, newSpaceKey) | **Package** |  |
> | **Alias** |  | **Pkg Usage** |  |

## Description

> Macro (excerpt)
> 
> Moves the selected blog to a new space.

Moves the selected blog to a new space.

## Return Type

**Boolean (true/false)**

## Example

```javascript
boolean success = moveBlog(11801, "newSpaceKey");
print("Return " + success);
```

Print Return true

## See also

> Macro (contentbylabel)