toggle menu
openai-kotlin
common
switch theme
search in API
openai-core
/
com.aallam.openai.api.admin
/
OrganizationAdminAPIKeyRequest
Organization
Admin
APIKey
Request
@
Serializable
data
class
OrganizationAdminAPIKeyRequest
(
val
name
:
String
,
val
expiresInSeconds
:
Long
?
=
null
)
Creates an administrative API key.
Members
Constructors
Organization
Admin
APIKey
Request
Link copied to clipboard
constructor
(
name
:
String
,
expiresInSeconds
:
Long
?
=
null
)
Properties
expires
In
Seconds
Link copied to clipboard
@
SerialName
(
value
=
"expires_in_seconds"
)
val
expiresInSeconds
:
Long
?
=
null
Expires in seconds.
name
Link copied to clipboard
val
name
:
String
Name.