Skip to content

Pause a rule

POST
/api/v1/automations/{id}/pause
curl --request POST \
--url https://trongas.ai/api/v1/automations/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/pause \
--header 'X-Api-Key: <X-Api-Key>'

Required API-key scope: trade

Stop the rule from firing, keeping it around to resume later. Pausing this way records the reason as User, so auto-resume will not revive it — only you can.

id
required
string format: uuid

OK

object
id
required
string format: uuid
type
required
string
resource
required
string
targetAddress
required
string
minimal
required
null | integer | string format: int64
/^-?(?:0|[1-9]\d*)$/
volume
required
null | integer | string format: int64
/^-?(?:0|[1-9]\d*)$/
duration
required
null | string
spentTrx
required
string
status
required
string
pauseReason
required
null | string
autoResume
required
boolean
feeSaverOrderId
required
null | integer | string format: int64
/^-?(?:0|[1-9]\d*)$/
createdAt
required
string format: date-time
updatedAt
required
string format: date-time