STREAM: Toggle Stream-State

Toggle Active State of DataStream

post
Authorizations
Body
objectOptionalExample: {"datastream_uuid":"cfca7d1a059d458b8a86a73d97831c19","set_active":false}
Responses
200

OK

application/json
Responseobject
post
/api/v1/streams/toggle_activity
POST /api/v1/api/v1/streams/toggle_activity HTTP/1.1
Host: api.hybrid-chain.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 73

{
  "datastream_uuid": "cfca7d1a059d458b8a86a73d97831c19",
  "set_active": false
}
200

OK

{
  "message": "DataStream cfca7d1a059d458b8a86a73d97831c19 has been set to INACTIVE.",
  "success": true
}

Last updated

Was this helpful?