> ## 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 Request

> Request a cancellation token for an event. Includes SDK V2 guidance, input constraints, response fields, and Deepline credit cost.

Request a cancellation token for an event.

<Info>
  Tool ID: `luma_post_v1_events_cancel_request`
</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_request',
  {
    "event_id": "event_123"
  },
);

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

### CLI

```bash theme={null}
deepline tools execute luma_post_v1_events_cancel_request --input '{
  "event_id": "event_123"
}' --json
```

## Example response

The SDK exposes this shape at `result.toolResponse.raw`. Values below are representative.

```json theme={null}
{
  "data": {
    "cancellation_token": "example",
    "is_paid": true,
    "guest_count": 123
  }
}
```

Use `deepline tools get luma_post_v1_events_cancel_request --json` for the latest machine-readable contract.

## Input reference

Request a cancellation token for an event. Canceling an event is irreversible — it notifies all guests, processes refunds, and permanently deletes the event. Because of this, cancellation uses a two-step flow: first request a token here, then pass it to /events/cancel to execute. The token expires after 15 minutes.

| Name               | Type     | Required | Default | Details                                 |
| ------------------ | -------- | -------- | ------- | --------------------------------------- |
| `payload.event_id` | `string` | Yes      | —       | Event ID, this usually starts with evt- |

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

  ### Input JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Request a cancellation token for an event. Canceling an event is irreversible — it notifies all guests, processes refunds, and permanently deletes the event. Because of this, cancellation uses a two-step flow: first request a token here, then pass it to /events/cancel to execute. The token expires after 15 minutes.",
    "properties": {
      "event_id": {
        "type": "string",
        "description": "Event ID, this usually starts with evt-"
      }
    },
    "required": [
      "event_id"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name                             | Type      | Required | Default | Details                                                                                       |
| -------------------------------- | --------- | -------- | ------- | --------------------------------------------------------------------------------------------- |
| `result.data`                    | `object`  | Yes      | —       | Provider response payload.                                                                    |
| `result.data.cancellation_token` | `string`  | Yes      | —       | A short-lived token to confirm the cancellation. Expires after 15 minutes.                    |
| `result.data.is_paid`            | `boolean` | Yes      | —       | Whether the event has paid guests. If true, you must pass should\_refund in the confirm step. |
| `result.data.guest_count`        | `number`  | Yes      | —       | The number of approved guests for this event.                                                 |
| `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": "Provider response payload.",
        "properties": {
          "cancellation_token": {
            "type": "string",
            "description": "A short-lived token to confirm the cancellation. Expires after 15 minutes."
          },
          "is_paid": {
            "type": "boolean",
            "description": "Whether the event has paid guests. If true, you must pass should_refund in the confirm step."
          },
          "guest_count": {
            "type": "number",
            "description": "The number of approved guests for this event."
          }
        },
        "required": [
          "cancellation_token",
          "is_paid",
          "guest_count"
        ],
        "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)
