---
title: "Upload File"
method: POST
path: "/v1/teams/{team_id}/users/{user_id}/files"
tags: ["v1", "Upload Files"]
deprecated: true
---

# Upload File

`POST /v1/teams/{team_id}/users/{user_id}/files`

> **Deprecated.**

## Path parameters

- `team_id` union, required
  - string, uuid
  - string
- `user_id` union, required
  - string, uuid
  - string

## Request body

- UploadFileRequest
  - `fileName` string, required — File Name
  - `contents` string, required — Base64 encoded contents

## Response `200`

Successful Response

- UploadFileResponse
  - `blobPath` string, required — Blob Path

## Other responses

- `201` — File Uploaded Successfully
- `404` — User Not Found
- `422` — Validation Error

---

[API](https://skmtc.dev/definite/apis/defapi.md) · [All operations](https://skmtc.dev/definite/apis/defapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/definite/defapi/revisions/5ea378187147/schema)
