> Markdown versions of all pages of this connector library are available by appending `.md` to the page URL. For the full index of connectors, see [llms.txt](https://connectors.appmixer.com/llms.txt).

# appmixer.notion.core.ArchivePage

- Component: `appmixer.notion.core.ArchivePage`
- Kind: Action
- Version: 1.0.0
- Visibility: Public
- Connector: [appmixer.notion 2.3.0](https://connectors.appmixer.com/connector/appmixer.notion/2.3.0.md)
- Component page: <https://connectors.appmixer.com/connector/appmixer.notion/2.3.0/component/appmixer.notion.core.ArchivePage>

Moves a page or a database item to the trash. It can be restored from the trash in Notion.

## Input ports

### Port `in`

| Field | Type | Description |
| --- | --- | --- |
| Page ID (`pageId`) | text | Enter the ID of the page or database item to move to the trash. |

## Output ports

### Port `out`

_No fields defined for this port._

## Full metadata (component.json)

```json
{
  "name": "appmixer.notion.core.ArchivePage",
  "author": "Appmixer <info@appmixer.com>",
  "icon": "(data URI omitted)",
  "description": "Moves a page or a database item to the trash. It can be restored from the trash in Notion.",
  "auth": {
    "service": "appmixer:notion"
  },
  "quota": {
    "manager": "appmixer:notion",
    "resources": "general",
    "scope": {
      "userId": "{{userId}}"
    }
  },
  "private": false,
  "inPorts": [
    {
      "name": "in",
      "schema": {
        "type": "object",
        "properties": {
          "pageId": {
            "type": "string"
          }
        },
        "required": [
          "pageId"
        ]
      },
      "inspector": {
        "inputs": {
          "pageId": {
            "type": "text",
            "index": 1,
            "label": "Page ID",
            "tooltip": "Enter the ID of the page or database item to move to the trash."
          }
        }
      }
    }
  ],
  "outPorts": [
    {
      "name": "out"
    }
  ]
}
```
