v1

latestOpenAPI 3.0.32026-07-132681171.6 KB

Update API key expiry

Update the expiry date for an API key. If expires_at is not set or is null, the current expiry will be removed, making the API key non-expiring.

post/v1/manage/apikey/{id}/expiry

Path parameters

idstring uuid required

Request body

expires_atstring date-time

Expiry date in RFC3339 format (e.g., 2025-12-31T23:59:59Z). If not set or null, the current expiry will be removed, making the API key non-expiring.

Example request

{
  "expires_at": "2025-12-31T23:59:59Z"
}

Response

Expiry updated successfully