Skip to main content
POST
/
risk
/
actions
/
close-only
/
{customer_id}
Toggle Close Only
curl --request POST \
  --url https://api.{your-broker}.slate-labs.com/risk/actions/close-only/{customer_id} \
  --header 'Content-Type: application/json' \
  --data '
{
  "close_only": true
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Path Parameters

customer_id
string
required

Body

application/json
close_only
boolean
required

Response

Successful Response