---
title: "Updates JS file content"
method: POST
path: "/javascript/file"
tags: ["Javascript"]
---

# Updates JS file content

`POST /javascript/file`

## Request

- The document declares no server URL.
- Auth: API key in header `TWN-InstanceKey` and API key in header `TWN-Authentication`

## Query parameters

- `path` string

## Request body

- FileApiModel
  - `Content` string

## Response `202`

Accepted

## Other responses

- `404`: Not Found
- `406`: Not Acceptable

---

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