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": {}
}
]
}Stop scan
Stops a scan in progress and returns a message confirming the stop action.Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Response
Successful Response
Generic single-message response.
Attributes: message: Human-readable result message.
