Delete a profile
1 min
DELETE
https://api.detected.app/api/v2/public/profiles/{uuid}
Path Parameters
- uuidstringrequiredDescription
Responses
204
Response Headers
- X-RateLimit-Limit
- X-RateLimit-Remaining
- x-ratelimit-reset
- retry-after
401
- object
- messagestringDescription
404
429
- object
- messagestringDescription
502
- object
- messagestring
curl
curl --request DELETE \
--url https://api.detected.app/api/v2/public/profiles/{uuid} \
--header 'accept: application/json'javascript
var myHeaders = new Headers();
myHeaders.append("accept", "application/json");
myHeaders.append("content-type", "application/json");
var requestOptions = {
method: 'DELETE',
headers: myHeaders,
redirect: 'follow'
};
fetch("https://api.detected.app/api/v2/public/profiles/{uuid}", requestOptions)
.then(response => response.text())
.then(result => console.log(result))
.catch(error => console.log('error', error));ruby
require "uri"
require "json"
require "net/http"
url = URI("https://api.detected.app/api/v2/public/profiles/{uuid}")
https = Net::HTTP.new(url.host, url.port)
https.use_ssl = true
request = Net::HTTP::Delete.new(url)
request["accept"] = "application/json"
request["content-type"] = "application/json"
response = https.request(request)
puts response.read_body
python
import requests
import json
url = "https://api.detected.app/api/v2/public/profiles/{uuid}"
payload = {}
headers = {
'accept': 'application/json',
'content-type': 'application/json'
}
response = requests.request("DELETE", url, headers=headers, data=payload)
print(response.text)
204
// No Content. Monitoring was stopped and the profile was deleted.
401
// Unauthorized. The access token is missing, invalid or has expired.
{
"message": ""
}404
// Not Found. The profile does not exist, or is not available to your account.
429
// Too Many Requests. You have exceeded the rate limit. Wait for the number of seconds given in the Retry-After header before trying again.
{
"message": ""
}502
// Bad Gateway. Monitoring could not be fully stopped, so the profile was not deleted. It is safe to retry.
{
"message": ""
}