---
title: "Upload configure file"
method: POST
path: "/file/config"
tags: ["File"]
---

# Upload configure file

`POST /file/config`

## Request

- Base URL: `/v1` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/v1/file/config`
- Auth: none declared. Required headers: `X-Auth-Token`
- TypeScript: <https://skmtc.dev/neuvector/apis/neuvector-api/docs/file/config/post.ts> (a function with typed inputs; its response is checked against the schema)

## Headers

- `X-Auth-Token` string, required
- `X-Transaction-ID` string

## Request body `multipart/form-data`

- object
  - `configuration` string, binary: a yaml configure file

## Response `200`

Success. Upload a configure file.

---

[API](https://skmtc.dev/neuvector/apis/neuvector-api.md) - [All operations](https://skmtc.dev/neuvector/apis/neuvector-api/llms.txt) - [OpenAPI document](https://skmtc.dev/neuvector/apis/neuvector-api/revisions/b8d8d28840b3?raw)
