---
title: "Delete files uploaded by a user for chat"
method: POST
path: "/rest/api/v1/deletechatfiles"
tags: ["Chat"]
---

# Delete files uploaded by a user for chat

`POST /rest/api/v1/deletechatfiles`

Delete files uploaded by a user for Chat.

## Query parameters

- `locale` string
- `timezoneOffset` integer

## Headers

- `X-Glean-ActAs` string, email
- `X-Glean-Auth-Type` string

## Request body

- DeleteChatFilesRequest
  - `fileIds` string[], required — IDs of files to delete.

## Response `200`

OK

## Other responses

- `400` — Invalid request
- `401` — Not Authorized
- `403` — Forbidden
- `429` — Too Many Requests

---

[API](https://skmtc.net/gleanwork/apis/glean-client-api.md) · [All operations](https://skmtc.net/gleanwork/apis/glean-client-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gleanwork/glean-client-api/versions/98678e54a6c5/schema)
