Skip to content

ApiKeyCreateRequest

← All HTTP schemas

The request body for creating an API key.

Shape: object

Property Required Type Description Rules
name no string Gets the name that lets the operator identify the key.
scopes no array Gets the set of scopes. Cannot be empty; an unknown value is rejected.
expiresAt no string (date-time) Gets the expiration time. If not given, the key never expires.