Skip to main content
POST
Set a cloud agent's monthly cap in US$ (or none). Requires --execute when raising it.

Body

application/json
agent
string
required

Cloud agent id, Library slug or name

usd
string
required

Monthly cap in US dollars, or none

execute
boolean

Raise or remove the cap (without it, print the plan and exit 3)

project
string

Console project slug (default: the cwd's project)

Response

Success — body conforms to the @Returns schema.

agent
object
required
success
boolean
required