Update a key
PATCHhttps://api.inferencebureau.com/v1/keys/{id}
Rename an active key, set or remove its expiry, or change its permissions. Audited as key.update.
Body
application/json; send any of them- namestringoptional
Unique among the project's active keys.
- expires_atstring | nulloptional
A future ISO 8601 time, or
nullfor none. - permissionsstring[]optional
The key's permissions:
["content:read"]lets it read logged content,[]takes that away. Onlycontent:readchanges through the API; the other permissions a key holds, such as Auditor Permissions, are kept.
Notes
- Directivesoptional
A key's Directives change at
/v1/keys/{id}/directives.