Skip to main content
PUT
/
api
/
programs
/
bindings
/
{binding_id}
cURL
curl --request PUT \
  --url https://api.production.hyperoru.com/api/programs/bindings/{binding_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "account_id": 123,
  "enabled": true,
  "id": 123,
  "program_id": 123,
  "trigger_config": {}
}

Authorizations

Authorization
string
header
required

Session token issued by POST /api/users/login, transported as Authorization: Bearer <token>.

Path Parameters

binding_id
integer<int32>
required

Binding ID

Body

application/json

Generic free-form JSON object used as a fallback response schema for endpoints whose payload is large, deeply nested, or best documented via their narrative description rather than a fixed Rust type.

Named so it shows up as a proper $ref in the generated spec instead of a bare serde_json::Value; clients that want stricter typing should reach for the domain-specific DTOs declared alongside the relevant handler.

Response

Binding updated

Program binding linking a program to an AI trader account.

account_id
integer<int32>
required
enabled
boolean
required
id
integer<int32>
required
program_id
integer<int32>
required
trigger_config
object
required