limits

Update Spend Limit

Changed on

Update an absolute amount, percentage threshold, or enabled state.

patch/v2/limits/{limit_id}

Request

  • Base URL
    https://api.hud.ai (the document declares no server; this is the origin it was published from)
  • URL
    https://api.hud.ai/v2/limits/{limit_id}
  • Auth
    none declared

Path parameters

limit_idstring uuid required

Request body

enabledboolean nullable

Response

Successful Response

idstring uuid required
api_key_idstring uuid nullable required
api_key_namestring nullable required
membership_idinteger nullable required
member_namestring nullable required
parent_limit_idstring uuid nullable required
threshold_percentstring nullable required
interval'week' | 'month' required
amount_usdstring required
action'alert' | 'block' required
enabledboolean required
spend_usdstring required
period_startstring required
period_endstring required
reset_atstring nullable required
editableboolean required

Changes

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • warning

      removed the optional property // from the response with the status

    • warning

      removed the optional property // from the response with the status