---
title: "Upload files to pod"
method: POST
path: "/kapis/terminal.kubesphere.io/v1alpha2/namespaces/{namespace}/pods/{pod}/file"
tags: ["Web Terminal"]
---

# Upload files to pod

`POST /kapis/terminal.kubesphere.io/v1alpha2/namespaces/{namespace}/pods/{pod}/file`

## Path parameters

- `namespace` string, required
- `pod` string, required

## Query parameters

- `container` string
- `path` string

## Response `200`

ok

---

[API](https://skmtc.net/kubesphere/apis/ks-api.md) · [All operations](https://skmtc.net/kubesphere/apis/ks-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/kubesphere/ks-api/versions/0451c8cec9b1/schema)
