OptionalexpiresOptional expiration timestamp in ISO 8601 format. Must be in the future. Omit or set to null for a key that does not expire.
OptionalnameOptional name for the API key. Cannot be provided together with note, even if either value is an empty string.
OptionalnoteDeprecated alias for name. Cannot be provided together with name, even if either value is an empty string.
OptionalpublicOptional predefined public key. Must start with 'pk-lf-'. If provided, secretKey must also be provided.
OptionalsecretOptional predefined secret key. Must start with 'sk-lf-'. If provided, publicKey must also be provided.
Example