setOneTimeBurnLimit method

Future<OpenRouterManagedApiKey> setOneTimeBurnLimit(
  1. String hash, {
  2. required double limit,
  3. String? name,
  4. bool? disabled,
  5. bool? includeByokInLimit,
})

Implementation

Future<OpenRouterManagedApiKey> setOneTimeBurnLimit(
  String hash, {
  required double limit,
  String? name,
  bool? disabled,
  bool? includeByokInLimit,
}) => updateKey(
  hash,
  OpenRouterUpdateApiKeyRequest.oneTimeUseBurn(
    name: name,
    limit: limit,
    disabled: disabled,
    includeByokInLimit: includeByokInLimit,
  ),
);