General APIs with JWT
Set or clear the key's budgets or end-customer tag
Changed on{"daily_budget_usd": 25} sets a budget, {"daily_budget_usd": null} clears it; a field the body does not name is left as it is. Signed-in session only, like every key route — a key cannot lift its own budget. Resellers: {"customer_ref": "<tag>"} sets the tag every rental this key opens is recorded under; {"customer_ref": null} clears it. Rentals already recorded keep the tag they were opened under. 1-64 characters, letters, digits and . _ : -; anything else is 422.
patch/keys/{api_key_id}
Request
- Base URL: https://lium.io/api
- URL: https://lium.io/api/keys/{api_key_id}
- Auth: HTTP bearer
Path parameters
api_key_idstring required
Request body
Response
Successful Response
Changes
- ○
added the new optional request property
- ○
added the required property
to the response with the status
- ○
- ○
endpoint added
- ○