Skip to main content
Replaces the low-balance alert configuration. Thresholds are all percent_used or all tokens_remaining (at most 5); absolute levels are in tokens. Recipients are added to the team owner, who is always notified. To stop alerts, set enabled to false.
Permission required: credits:manage

Request Body

boolean
required
Whether alerts are sent
array
required
Alert levels, all of one type; duplicates are dropped
object
Omit to send to the team owner only

Response

object

Errors

Errors answer with success: false, a message and an error_code. See Error Codes for every code.