---
title: "PUT /sudoers/{entryname}/commands/"
method: PUT
path: "/v1/sudoers/{entryname}/commands/"
---

# PUT /sudoers/{entryname}/commands/

`PUT /v1/sudoers/{entryname}/commands/`

Add/Delete commands for a SUDOer entry

## Path parameters

- `entryname` string, required

## Request body

- object
  - `command` string — command to add/delete
  - `enabled` boolean — set true to enable command
  - `delete` boolean — set true to delete command

## Response `200`

200

- object
  - `status` string

## Other responses

- `400` — 400

---

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