---
title: "POST /sudoers/{entryname}/not_after/"
method: POST
path: "/v1/sudoers/{entryname}/not_after/"
---

# POST /sudoers/{entryname}/not_after/

`POST /v1/sudoers/{entryname}/not_after/`

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

## Path parameters

- `entryname` string, required

## Request body

- object
  - `not_after` string, date

## 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)
