Restart the FIX acceptor with a session per strategy as registered now.
POST
/admin/fix-acceptor/restart
curl --request POST \ --url http://localhost:3001/admin/fix-acceptor/restart \ --header 'Authorization: Bearer <token>'import requests
url = "http://localhost:3001/admin/fix-acceptor/restart"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.json())use reqwest;
#[tokio::main]pub async fn main() { let url = "http://localhost:3001/admin/fix-acceptor/restart";
let mut headers = reqwest::header::HeaderMap::new(); headers.insert("Authorization", "Bearer <token>".parse().unwrap());
let client = reqwest::Client::new(); let response = client.post(url) .headers(headers) .send() .await;
let results = response.unwrap() .json::<serde_json::Value>() .await .unwrap();
dbg!(results);}Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Restarted
Media typeapplication/json
object
logged_out
required
Strategy sessions that were logged on and were logged out by the restart.
integer
Example generated
{ "logged_out": 1}The acceptor did not start again