Skip to main content
PUT
/
portfolios
/
{portfolioId}
/
thresholds
Update portfolio risk thresholds
curl --request PUT \
  --url https://api.circular.rosetta.sh/api/v1/portfolios/{portfolioId}/thresholds \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "thresholds": {}
}
'
{
  "data": "<unknown>",
  "meta": {
    "latencyMs": 123,
    "freshness": "<string>",
    "source": "<string>"
  }
}

Authorizations

Authorization
string
header
required

API key in format circ_live_* or circ_test_*

Path Parameters

portfolioId
string
required

Portfolio identifier

Body

application/json
thresholds
object

Key-value pairs of threshold settings

Response

200 - application/json

Updated thresholds

data
any
meta
object