Remover plano de ação
Remove um plano de ação. O id vai na query string. Em caso de sucesso, a resposta é o status 200 sem corpo adicional.
DELETE
/
api
/
v2
/
checklist
/
action-plan
/
remove
Remover plano de ação
curl --request DELETE \
--url https://api.sults.com.br/api/v2/checklist/action-plan/remove \
--header 'Authorization: <api-key>'import requests
url = "https://api.sults.com.br/api/v2/checklist/action-plan/remove"
headers = {"Authorization": "<api-key>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: '<api-key>'}};
fetch('https://api.sults.com.br/api/v2/checklist/action-plan/remove', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.sults.com.br/api/v2/checklist/action-plan/remove",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "DELETE",
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}using RestSharp;
var options = new RestClientOptions("https://api.sults.com.br/api/v2/checklist/action-plan/remove");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("Authorization", "<api-key>");
var response = await client.DeleteAsync(request);
Console.WriteLine("{0}", response.Content);
No body{
"error": "'id' is required.",
"dateTime": "2026-11-03T14:20:00Z"
}{
"error": "Acesso não autorizado."
}{
"error": "Unauthorized",
"dateTime": "2026-11-03T14:20:00Z"
}{
"error": "'assessmentId' is required.",
"dateTime": "2026-11-03T14:20:00Z"
}<string>{
"error": "Internal Server Error",
"dateTime": "2026-11-03T14:20:00Z"
}Was this page helpful?
⌘I
Remover plano de ação
curl --request DELETE \
--url https://api.sults.com.br/api/v2/checklist/action-plan/remove \
--header 'Authorization: <api-key>'import requests
url = "https://api.sults.com.br/api/v2/checklist/action-plan/remove"
headers = {"Authorization": "<api-key>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: '<api-key>'}};
fetch('https://api.sults.com.br/api/v2/checklist/action-plan/remove', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.sults.com.br/api/v2/checklist/action-plan/remove",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "DELETE",
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}using RestSharp;
var options = new RestClientOptions("https://api.sults.com.br/api/v2/checklist/action-plan/remove");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("Authorization", "<api-key>");
var response = await client.DeleteAsync(request);
Console.WriteLine("{0}", response.Content);
No body{
"error": "'id' is required.",
"dateTime": "2026-11-03T14:20:00Z"
}{
"error": "Acesso não autorizado."
}{
"error": "Unauthorized",
"dateTime": "2026-11-03T14:20:00Z"
}{
"error": "'assessmentId' is required.",
"dateTime": "2026-11-03T14:20:00Z"
}<string>{
"error": "Internal Server Error",
"dateTime": "2026-11-03T14:20:00Z"
}