# cancel_registration

Cancel the signed-in person's own registration for an event by its id.

Needs sign-in · 1 gold · Changes something – ask first, takes something away

## Input

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `eventId` | `string` | Yes | 1–128 characters |

## Over HTTP

```bash
curl -X POST https://pirateskills.com/api/public/agent/tools/cancel_registration \
  -H "Authorization: Bearer $PIRATESKILLS_API_KEY" \
  -H "content-type: application/json" \
  -d '{ "eventId": "<eventId>" }'
```

## From the CLI

```bash
pirateskills run cancel_registration --json '{ "eventId": "<eventId>" }'   # asks y/N first
```

## Over MCP

Call `cancel_registration` on `https://pirateskills.com/mcp`. The tool is marked as one that changes something, so a well-behaved client asks the person first. [Connect over MCP](https://pirateskills.com/docs/mcp)

## JSON Schema

```json
{
  "type": "object",
  "properties": {
    "eventId": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128
    }
  },
  "required": [
    "eventId"
  ]
}
```

---
Source: https://pirateskills.com/docs/tools/cancel_registration · All docs: https://pirateskills.com/docs.md · Short overview: https://pirateskills.com/llms.txt
