Path parameters
idstringrequiredThe API key to update.
e.g. "ak_01KE7XWWEQ4MCGWKBQKJ1G47RP"
Request body
namestring | null- ≥ 1 characters≤ 256 characters
scopesstring[]required- ≥ 1 items
spending_limitstring | nullrequiredMost this key can spend per period, in USD.
nullremoves the limit. A limit of0blocks every request.e.g. "25.00"matches^(0|[1-9]\d{0,7})(\.\d{1,2})?$spending_limit_periodstring | nullWhen the limit resets, at the start of each UTC day, week or month. Required with a limit; leave it out, or null, without one.
"day""week""month"
Response
API key updated
dataobjectrequired
Errors
A failed call names what went wrong in code, with a sentence in message. The codes, which of them are worth retrying, and how to read a validation failure are on Errors.