v7

latestOpenAPI 3.0.3raw.githubusercontent.com2026-08-013764062.2 MB
API tokens

Update API token

Updates an existing API token with a new expiry date. The token path parameter is the token's secret. If the token does not exist, this endpoint returns a 200 OK, but does nothing.

put/api/admin/api-tokens/{token}

Path parameters

tokenstring required

Request body

expiresAtstring date-time required

The new time when this token should expire.

Example request

{
  "expiresAt": "2023-09-04T11:26:24+02:00"
}

Response

This response has no body.