curl --request DELETE \
--url 'https://api.nsr.stateset.com/api/v1/entities/{id}' \
--header "X-API-Key: $STATESET_NSR_API_KEY"
Delete an entity by ID
Hard-delete an entity and its triples. Required scope: admin
DELETE
/
api
/
v1
/
entities
/
{id}
curl --request DELETE \
--url 'https://api.nsr.stateset.com/api/v1/entities/{id}' \
--header "X-API-Key: $STATESET_NSR_API_KEY"
Hard-delete an entity and its triples.
Required scope:
admin
Path parameters
string
required
Entity id
Response
No response body. Entity and its triples deleted.Status codes
| Code | Meaning |
|---|---|
200 | Entity and its triples deleted |
401 | Unauthorized — missing or invalid credentials |
403 | Forbidden — the key/token lacks the required scope |
404 | No such entity in this organization |
429 | Rate limited — see Retry-After / X-RateLimit-Reset |
curl --request DELETE \
--url 'https://api.nsr.stateset.com/api/v1/entities/{id}' \
--header "X-API-Key: $STATESET_NSR_API_KEY"
Last modified on August 31, 2026