---
title: "Task loadingzone-delete"
source: https://dev.pageseeder.com/guide/publishing/ant_api/tasks/task_loadingzone-delete.html
description: "Deletes documents from a user's loading zone in PageSeeder (v5.9200+). Accepts single or multiple file paths and requires group specification, group name, and authentication credentials via ps:config properties."
last_updated: 2026-08-11T16:27:58+10:00
tokens: ~407
---

# Task loadingzone-delete

Used in upload processing scripts to delete documents from the [loading zone](../../../../reference/glossary/loading_zone.md) for the current user in the specified [group](../../../../reference/glossary/group.md).

> **Note:** This task is available in PageSeeder v5.9200 and higher.

## Definition

```xml

<ps:loadingzone-delete group="[groupname]"
                       path="[file path]"
                       paths="[file path list]"
                       config="[config name]" />
```

## Attributes

| **Attribute** | Description | Required | Default |
| --- | --- | --- | --- |
| **group** | The name of the group the Loading Zone is in | Yes |  |
| **path** | The path in the Loading Zone of the file to delete (not URL encoded) | Yes, if no `paths` |  |
| **paths** | A pipe-separated list of paths in the Loading Zone of the files to delete (not URL encoded) | Yes, if no `path` |  |
| **config** | Universal PS config name | No | `default` |

## Environment

This task uses the following [ps:config](task_config.md) environment properties:

- **scheme** – scheme for connecting to PageSeeder.
- **host** – host for connecting to PageSeeder.
- **port** – port for connecting to PageSeeder.
- **site.prefix** – site prefix for connecting to PageSeeder – default  /ps.
- **username** – username of member for delete
- **user.token** or **jsessionid** or **password** – access token or jsessionid or  username’s password for connecting to PageSeeder.

## Examples

```xml

<ps:loadingzone-delete
    group="${ps.config.default.group.name}"
    path=${ps.config.default.upload.path}" />
```

