---
title: "Patch system module file and content (in base64) by module name, version and relative path"
method: PUT
path: "/modules/{module_name}/versions/{version}/files/file"
tags: ["Modules"]
---

# Patch system module file and content (in base64) by module name, version and relative path

`PUT /modules/{module_name}/versions/{version}/files/file`

## Path parameters

- `module_name` string, required
- `version` string, required

## Request body

- PrivateSystemModuleFilePatch
  - `action` 'move' | 'remove' | 'save', required
  - `data` string
  - `newpath` string
  - `path` string, required

## Response `200`

action on system module file did successful

- SuccessResponse
  - `data` object
  - `status` string

## Other responses

- `403` — making action on system module file not permitted
- `404` — system module not found
- `500` — internal error on making action system module file

---

[API](https://skmtc.net/vxcontrol/apis/soldr-swagger-api.md) · [All operations](https://skmtc.net/vxcontrol/apis/soldr-swagger-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/vxcontrol/soldr-swagger-api/revisions/ac519ec936b3/schema)
