API Keys
Update API key expiry.
Allows admins to update the expiration of an API key (either set a new expiry or remove one).
patch/admin/api_keys/expire/{key_id}
Request
- Base URLhttps://h2ogpte.genai.h2o.ai/api/v1
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
key_idstring required
Id of the key to update.
Request body
Example request
{
"expires_in": "30 days"
}Response
Successful operation
Changes
No recorded changes to this operation across all 1 revision of this API.