Update the current user’s preferences including email notifications, autopay settings, and balance thresholds. Accepts partial updates.
To enable autopay, you must:
When your balance drops below autopay_reload_threshold, automatically charges your saved default payment method.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Request model for PATCH /user/preferences endpoint.
Whether to send email notifications when clusters are created
Whether to send email notifications when clusters are destroyed
Enable or disable autopay. When enabled, automatically charges saved payment method when balance drops below autopay_reload_threshold. Requires default payment method and autopay_reload_threshold to be set.
Balance threshold (in USD) at which to send warning email. Must be positive and higher than autopay_reload_threshold if both are set.
x > 0Balance threshold (in USD) at which autopay triggers. Must be at least $20 and less than balance_warning_threshold.
x >= 20Successful Response
Response model for GET /user/preferences endpoint.
Whether to send email notifications when clusters are created
Whether to send email notifications when clusters are destroyed
Whether autopay is enabled. When enabled, TensorPool automatically charges your saved payment method when your balance falls below autopay_reload_threshold.
Requirements to enable:
How it works:
Balance threshold (in USD) at which to send warning email notifications. Must be positive if set. Should be higher than autopay_reload_threshold if both are set.
Balance threshold (in USD) at which autopay automatically reloads balance. Must be at least $20 and less than balance_warning_threshold if both are set.