Update a key
BetaWe just launched Apps: hosted models, actions and pages, on the same bill as your inference.Read the Apps docs

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 null for none.

  • permissionsstring[]optional

    The key's permissions: ["content:read"] lets it read logged content, [] takes that away. Only content:read changes 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.