Archive a strategy
curl --request DELETE \
--url https://api.noonum.ai/v2/strategies/{strategyId} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.noonum.ai/v2/strategies/{strategyId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.noonum.ai/v2/strategies/{strategyId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.noonum.ai/v2/strategies/{strategyId}"
req, _ := http.NewRequest("DELETE", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}UserStrategies
Archive a strategy
Archives a strategy. Archived strategies stay recoverable for a 30-day grace window before they are permanently deleted. Only the owner can archive a strategy.
DELETE
/
strategies
/
{strategyId}
Archive a strategy
curl --request DELETE \
--url https://api.noonum.ai/v2/strategies/{strategyId} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.noonum.ai/v2/strategies/{strategyId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.noonum.ai/v2/strategies/{strategyId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.noonum.ai/v2/strategies/{strategyId}"
req, _ := http.NewRequest("DELETE", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}Authorizations
Enter 'Bearer' followed by a space and then your JWT or API Key.
Example: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...
or Bearer YOUR_API_KEY_HERE
Path Parameters
UUID of the strategy.
Response
The strategy was archived. No content is returned.
Was this page helpful?