Delete Entity
curl --request DELETE \
--url https://api.replyke.com/api/v6/:projectId/api/v7/entities/:entityIdimport requests
url = "https://api.replyke.com/api/v6/:projectId/api/v7/entities/:entityId"
response = requests.delete(url)
print(response.text)const options = {method: 'DELETE'};
fetch('https://api.replyke.com/api/v6/:projectId/api/v7/entities/:entityId', 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.replyke.com/api/v6/:projectId/api/v7/entities/:entityId",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "DELETE",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.replyke.com/api/v6/:projectId/api/v7/entities/:entityId"
req, _ := http.NewRequest("DELETE", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.delete("https://api.replyke.com/api/v6/:projectId/api/v7/entities/:entityId")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.replyke.com/api/v6/:projectId/api/v7/entities/:entityId")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Delete.new(url)
response = http.request(request)
puts response.read_bodyEntity Endpoints
Delete Entity
Delete an entity
DELETE
/
:projectId
/
api
/
v7
/
entities
/
:entityId
Delete Entity
curl --request DELETE \
--url https://api.replyke.com/api/v6/:projectId/api/v7/entities/:entityIdimport requests
url = "https://api.replyke.com/api/v6/:projectId/api/v7/entities/:entityId"
response = requests.delete(url)
print(response.text)const options = {method: 'DELETE'};
fetch('https://api.replyke.com/api/v6/:projectId/api/v7/entities/:entityId', 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.replyke.com/api/v6/:projectId/api/v7/entities/:entityId",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "DELETE",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.replyke.com/api/v6/:projectId/api/v7/entities/:entityId"
req, _ := http.NewRequest("DELETE", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.delete("https://api.replyke.com/api/v6/:projectId/api/v7/entities/:entityId")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.replyke.com/api/v6/:projectId/api/v7/entities/:entityId")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Delete.new(url)
response = http.request(request)
puts response.read_bodyDeletes an entity and its associated data. Only the entity’s author, or a request with a service or master key, can delete an entity.
Authentication required.
Deletion behavior depends on your project’s
Returned when the entity record exists but could not be deleted (e.g., it was already soft-deleted).
entityDeletion settings:
- Hard delete (default): The entity and all its files are permanently removed.
- Soft delete: The entity is marked as deleted but retained in the database. File preservation is configurable separately.
Path Parameters
string
required
The UUID of the entity to delete.
Response
Returns204 No Content on success.
Error Responses
Not Found — 404
Not Found — 404
{ "error": "Entity not found.", "code": "entity/not-found" }
Already Deleted — 404
Already Deleted — 404
{ "error": "Entity not found or already deleted.", "code": "entity/delete-failed" }
Unauthorized — 403
Unauthorized — 403
{ "error": "Not authorized to delete this entity.", "code": "entity/not-authorized" }

