Set a new FIX password and return it once.
POST
/admin/strategies/{code}/password
curl --request POST \ --url http://localhost:3001/admin/strategies/string/password \ --header 'Authorization: Bearer <token>'import requests
url = "http://localhost:3001/admin/strategies/string/password"
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/strategies/string/password";
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”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”code
required
string
Strategy code
Responses
Section titled “Responses”The new password, shown once
Media typeapplication/json
object
password
required
Shown once; only its hash is stored.
string
Example generated
{ "password": "example"}Not found