---
title: "Update script config"
method: POST
path: "/api/v1/scripts/config"
tags: ["Scripts"]
---

# Update script config

`POST /api/v1/scripts/config`

Updates config settings for a script

## Headers

- `Authentication` string, required

## Request body

- ModelsUpdateScriptConfigRequest — Request body for updating script configuration
  - `hwid_reset_cooldown` integer
  - `killswitch` boolean
  - `linkvertise_enabled` boolean
  - `linkvertise_key_duration` integer
  - `linkvertise_user_id` integer
  - `lootlabs_api_key` string
  - `lootlabs_enabled` boolean
  - `lootlabs_key_duration` integer
  - `trial` boolean
  - `workink_api_key` string
  - `workink_enabled` boolean
  - `workink_key_duration` integer

## Response `200`

Update result

- ModelsSuccessResponse — Simple success response
  - `message` string
  - `success` boolean

## Other responses

- `400` — Invalid request

---

[API](https://skmtc.dev/getpolsec/apis/polsec-api.md) · [All operations](https://skmtc.dev/getpolsec/apis/polsec-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/getpolsec/polsec-api/revisions/f270711e08bf/schema)
