Stop Scan
curl --request POST \
--url https://rts-senthrex.slayers.tech/scan/{scan_uuid}/stop \
--header 'Authorization: Bearer <token>'import requests
url = "https://rts-senthrex.slayers.tech/scan/{scan_uuid}/stop"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://rts-senthrex.slayers.tech/scan/{scan_uuid}/stop', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"message": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}API Reference
Stop scan
Stop a running or pending scan by UUID.
POST
/
scan
/
{scan_uuid}
/
stop
Stop Scan
curl --request POST \
--url https://rts-senthrex.slayers.tech/scan/{scan_uuid}/stop \
--header 'Authorization: Bearer <token>'import requests
url = "https://rts-senthrex.slayers.tech/scan/{scan_uuid}/stop"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://rts-senthrex.slayers.tech/scan/{scan_uuid}/stop', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"message": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}