Skip to main content

Update API token

PUT /api/admin/api-tokens/: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.

Request

Path Parameters

  • token string required

Body

required

updateApiTokenSchema

  • expiresAt date-time required

    The new time when this token should expire.

Responses

This response has no body.

Loading...