Rename Key
Update an API key’s label and/or its default bot tag.
Partial update: a field absent from the body is left unchanged and an
explicit null clears it. Tier/permissions are immutable for the life
of a key (rotate to change them). 404 if the key isn’t the caller’s. The
label is not in the cached auth payload, but the default bot tag is, so a
change to it evicts the cache and the next order already carries it.
Authorizations
Issue from /v1/keys (or admin-issued for enterprise tier).
Headers
Path Parameters
Body
Partial update: only the fields present in the body change.
Magic number (0..9223372036854775807) stamped on every order placed with this key that does not send its own magic. Give each bot its own key to tag its orders without code changes.
0 <= x <= 9223372036854776000Bot label (max 32 printable characters) stamped on every order placed with this key that does not send its own magic_label.
32New human-readable label (null clears it)
100Response
Successful Response
Magic number (0..9223372036854775807) stamped on every order placed with this key that does not send its own magic. Give each bot its own key to tag its orders without code changes.
Bot label (max 32 printable characters) stamped on every order placed with this key that does not send its own magic_label.