> ## Documentation Index
> Fetch the complete documentation index at: https://deepline.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Luma: Post V1 Events Cancel

> Cancel an event. You must first call /events/cancel/request to get a cancellation_token, then pass it here. This is irreversible — the event will be deleted.

Cancel an event.

<Info>
  Tool ID: `luma_post_v1_events_cancel`
</Info>

## Run this action

Use the TypeScript SDK for a single call. Put `ctx.tools.execute(...)` inside a Play when the call should be durable, scheduled, or run across a CSV.

```ts theme={null}
import { Deepline } from 'deepline';

const deepline = await Deepline.connect();
const result = await deepline.tools.execute(
  'luma_post_v1_events_cancel',
  {
    "event_id": "event_123",
    "cancellation_token": "example"
  },
);

console.log(result.toolResponse.raw);
```

### CLI

```bash theme={null}
deepline tools execute luma_post_v1_events_cancel --input '{
  "event_id": "event_123",
  "cancellation_token": "example"
}' --json
```

## Example response

The static output schema is not detailed enough to generate a reliable example. Use `deepline tools get luma_post_v1_events_cancel --json` for the complete live contract.

## Input reference

Cancel an event. You must first call /events/cancel/request to get a cancellation\_token, then pass it here. This is irreversible — the event will be deleted, all guests will be notified, and refunds will be processed if should\_refund is true. For paid events, you must specify should\_refund.

| Name                         | Type      | Required | Default | Details                                                               |
| ---------------------------- | --------- | -------- | ------- | --------------------------------------------------------------------- |
| `payload.event_id`           | `string`  | Yes      | —       | Event ID, this usually starts with evt-                               |
| `payload.cancellation_token` | `string`  | Yes      | —       | The cancellation token returned from the request endpoint.            |
| `payload.should_refund`      | `boolean` | No       | —       | Whether to refund paid guests. Required if the event has paid guests. |

<details>
  <summary>Show raw input schema</summary>

  ### Input JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Cancel an event. You must first call /events/cancel/request to get a cancellation_token, then pass it here. This is irreversible — the event will be deleted, all guests will be notified, and refunds will be processed if should_refund is true. For paid events, you must specify should_refund.",
    "properties": {
      "event_id": {
        "type": "string",
        "description": "Event ID, this usually starts with evt-"
      },
      "cancellation_token": {
        "type": "string",
        "description": "The cancellation token returned from the request endpoint."
      },
      "should_refund": {
        "type": "boolean",
        "description": "Whether to refund paid guests. Required if the event has paid guests."
      }
    },
    "required": [
      "event_id",
      "cancellation_token"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name          | Type     | Required | Default | Details                                        |
| ------------- | -------- | -------- | ------- | ---------------------------------------------- |
| `result.data` | `object` | Yes      | —       | Empty response                                 |
| `result.meta` | `object` | No       | —       | Additional response metadata (status, paging). |

<details>
  <summary>Show raw output schema</summary>

  ### Output JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Standard tool result payload.",
    "properties": {
      "data": {
        "type": "object",
        "description": "Empty response",
        "properties": {},
        "additionalProperties": false
      },
      "meta": {
        "type": "object",
        "description": "Additional response metadata (status, paging).",
        "additionalProperties": true
      }
    },
    "required": [
      "data"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Deepline cost

* Pricing model: `fixed` (per call).
* Estimated Deepline credits: `0` per pricing unit.
* Provider-native pricing may still exist outside Deepline credit billing.

## Related documentation

* [Luma provider guide](/docs/providers/luma/guide)
* [SDK V2 quickstart](/docs/sdk-v2/quickstart)
* [SDK reference](/docs/sdk-v2/sdk-reference)
* [Run tools across a CSV](/docs/sdk-v2/batch-csv)
