v1

latestOpenAPI 3.1.02026-07-241220143.1 KB

PUT /sudoers/{entryname}/commands/

Add/Delete commands for a SUDOer entry

put/v1/sudoers/{entryname}/commands/

Path parameters

entrynamestring required

name of the sudoer entry

Request body

commandstring

command to add/delete

enabledboolean

set true to enable command

deleteboolean

set true to delete command

Response

200

statusstring

Example response

{
  "status": "ok"
}