API Keys
Update API key inactivity interval.
Allows admins to update the inactivity interval of an API key (either set a new inactivity interval or remove one). The inactivity interval is the number of days a key can remain unused (no activity) before it becomes invalid.
patch/admin/api_keys/inactivity_interval/{key_id}
Request
- Base URLhttps://h2ogpte.genai.h2o.ai/api/v1
- AuthHTTP bearer
- TypeScripthttps://skmtc.dev/h2o/apis/h2ogpte-rest-api/docs/admin/api_keys/inactivity_interval/:key_id/patch.tsA 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
{
"inactivity_interval": 60
}Response
Successful operation
Changes
No recorded changes to this operation across all 1 revision of this API.