---
title: "Remove files from a session"
method: DELETE
path: "/v1/events/{eventId}/sessions/{sessionId}/files"
tags: ["Sessions"]
---

# Remove files from a session

`DELETE /v1/events/{eventId}/sessions/{sessionId}/files`

## Request

- The document declares no server URL.
- Auth: none required
- TypeScript: <https://skmtc.dev/zuddl/apis/zuddl-webhook-documentation/docs/v1/events/:eventId/sessions/:sessionId/files/delete.ts> (a function with typed inputs; its response is checked against the schema)

Use this endpoint to remove files from a session for a specific event type in your Zuddl organization.

Required API key scopes: `WRITE`

**This API can only be called with an access key that was generated for Backend usage.**

## Path parameters

- `eventId` string, required
- `sessionId` string, required

## Request body

- OrgEventsAppDomainApiProductEventSessionDtosSessionRemoveFileRequest[]
  - `id` string, uuid: ID of the file

## Response `200`

Files removed successfully

## Other responses

- `400`: Invalid session ID or event ID
- `401`: Unauthorized access to event
- `404`: Event not found

---

[API](https://skmtc.dev/zuddl/apis/zuddl-webhook-documentation.md) - [All operations](https://skmtc.dev/zuddl/apis/zuddl-webhook-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/zuddl/apis/zuddl-webhook-documentation/revisions/571c1d41e62a?raw)
