credits

Update credit spend policy

Changed on
put/billing/credits/spend-policies/{spend_policy_id}

Request

  • Base URL
    https://api.schematichq.com
  • URL
    https://api.schematichq.com/billing/credits/spend-policies/{spend_policy_id}
  • Auth
    API key in header X-Schematic-Api-Key

Path parameters

spend_policy_idstring required

spend_policy_id

Request body

labelstring nullable
max_per_drawnumber double nullable
window_amountnumber double nullable
window_unit'hour' | 'day' | 'week' | 'month' | 'billing_period'

Response

OK

paramsobject required

Input parameters

Changes

    • warning

      added the new month enum value to the ///// response property for the response status

    • warning

      added the new week enum value to the ///// response property for the response status

    • info

      added the new month enum value to the request property ////

    • info

      added the new week enum value to the request property ////

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the required property / to the response with the status