Skip to main content
PATCH
Update API key expiration
The authenticated user can only modify their own API key. If they don’t have one yet, it returns 404: create it first with Generate API key.

Path parameters

string
required
User’s email address. It must match the authenticated user.

Request body

integer
New expiration date in Unix seconds, as an integer. It must be a future date at least 1 day ahead. If omitted, the API key has no expiration.

Response

boolean
true if the expiration was updated successfully.
string
Confirmation or error message.