class

OpenAI::AuditLogApiKeyUpdatedChangesRequested

Inherits JSON::Serializable < Reference < Object

The payload used to update the API key.

Constructors

new(scopes : Array(String) | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

scopes

A list of scopes allowed for the API key, e.g. ["api.model.request"]

Source
scopes=(scopes : Array(String) | Nil)

A list of scopes allowed for the API key, e.g. ["api.model.request"]

Source