Skip to main content
POST

Authorizations

Authorization
string
header
required

Send your API token as Authorization: Bearer <api-token>.

Query Parameters

teamID
string

Run the request in the context of a team you belong to, instead of your personal account. 24-character hexadecimal ID.

Pattern: ^[0-9a-fA-F]{24}$

Body

application/json
isManual
boolean
required

true to set amount, false to go back to the default.

amount
number

Threshold in Toman. Required when isManual is true; not allowed otherwise.

Required range: 1000 <= x <= 5000000

Response

The threshold was saved.

message
string