Cancel Assessment
curl --request POST \
--url https://api.mindfort.app/v1/assessments/{assessment_id}/cancel \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.mindfort.app/v1/assessments/{assessment_id}/cancel"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.mindfort.app/v1/assessments/{assessment_id}/cancel', 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.mindfort.app/v1/assessments/{assessment_id}/cancel"
req, _ := http.NewRequest("POST", 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))
}{
"assessment_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "canceled",
"message": "<string>"
}{
"error": "<string>",
"code": "<string>",
"request_id": "<string>"
}{
"error": "<string>",
"code": "<string>",
"request_id": "<string>"
}{
"error": "<string>",
"code": "<string>",
"request_id": "<string>"
}{
"error": "<string>",
"code": "<string>",
"request_id": "<string>"
}{
"error": "<string>",
"code": "<string>",
"request_id": "<string>"
}{
"error": "<string>",
"code": "<string>",
"request_id": "<string>"
}Assessments
Cancel Assessment
Requests cancellation of a running assessment. The assessment must belong to your organization.
POST
/
v1
/
assessments
/
{assessment_id}
/
cancel
Cancel Assessment
curl --request POST \
--url https://api.mindfort.app/v1/assessments/{assessment_id}/cancel \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.mindfort.app/v1/assessments/{assessment_id}/cancel"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.mindfort.app/v1/assessments/{assessment_id}/cancel', 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.mindfort.app/v1/assessments/{assessment_id}/cancel"
req, _ := http.NewRequest("POST", 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))
}{
"assessment_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "canceled",
"message": "<string>"
}{
"error": "<string>",
"code": "<string>",
"request_id": "<string>"
}{
"error": "<string>",
"code": "<string>",
"request_id": "<string>"
}{
"error": "<string>",
"code": "<string>",
"request_id": "<string>"
}{
"error": "<string>",
"code": "<string>",
"request_id": "<string>"
}{
"error": "<string>",
"code": "<string>",
"request_id": "<string>"
}{
"error": "<string>",
"code": "<string>",
"request_id": "<string>"
}Autorizaciones
API key generated from the MindFort dashboard. Pass as Authorization: Bearer <your-api-key>.
Parámetros de ruta
UUID of the assessment to cancel
¿Esta página le ayudó?