# Appeal a package takedown

Source: https://docs.vlayers.ai/reference/hosting/appeal-package-takedown

`POST /v1/package-appeals` · scope `workspace:write`

For a publisher: when VoiceLayer took a package or a version down, this puts your answer on the same record and back in the operators' queue.

Requires an API key with the `workspace:write` scope.

| Name | In | Type | Required | Description |
|---|---|---|---|---|
| `packageId` | body | string | yes | Your package, as `<namespace>/<name>`. |
| `versionId` | body | string | no | The version taken down; leave it out for a whole-package takedown. |
| `message` | body | string | yes | What happened and what changed (3 to 2,000 characters). |

## Request

cURL:

```bash
curl -X POST https://api.vlayers.ai/v1/package-appeals \
  -H "Authorization: Bearer $VOICELAYER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "packageId": "com.example/orders-panel",
    "message": "The address was ours and has been added to the summary."
  }'
```

TypeScript:

```ts
import { VoiceLayer } from '@voicelayer/api';

const voicelayer = new VoiceLayer();

const { status } = await voicelayer.hosting.appealPackageTakedown({
  packageId: 'com.example/orders-panel',
  message: 'The address was ours and has been added to the summary.'
});
console.log(status);
```

Python:

```python
from voicelayer import VoiceLayer

vl = VoiceLayer()

result = vl.hosting.appeal_package_takedown(
    package_id="com.example/orders-panel",
    message="The address was ours and has been added to the summary.",
)
print(result.status)
```

## Response `202`

```json
{
  "reportId": "rep_0123456789abcdef01",
  "status": "appealed"
}
```
