v1

latestOpenAPI 3.1.02026-07-241220143.1 KB

POST /sudoers/{entryname}/not_after/

Set the expiration date and time for a specific sudoers entry in 'YYYY-MM-DDTHH:MM+TZD' format

post/v1/sudoers/{entryname}/not_after/

Path parameters

entrynamestring required

name of the sudoer entry

Request body

not_afterstring date

Response

200

statusstring

Example response

{
  "status": "ok"
}