OS1 Services
...
Entity
How to use Entities?

How to: Delete Entity

2min
overview developers can call the deleteentity endpoint to delete entity instances by specifying the entitytypepluralname and entityid example the following example deletes the vehicles entity instance curl location request delete 'https //developfdn1 nonprod fxtrt io/core/api/v2/entity/vehicles/vehicle 283b3843 42b6 590a 94b4 08f881173313' \\ \ header 'x coreos request id dcb9d98e f5cc 4be3 9124 97fbcc84492e' \\ \ header 'x coreos tid \<tenant>' \\ \ header 'x coreos access \<token>' \\ \ header 'x coreos callback secret \<callback secret>' \\ \ header 'content type application/json' \\ \ header 'accept application/json' \\ \ data '{ "callback" { "url" "https //webhook site/2aaef2ee 20c6 47a0 bf24 5b2bba098714" } }' note use this api cautiously, as deleted data cannot be easily recovered ensure proper testing in non production environments before implementing in production