Skip to main content

Recovering Entities

The Gateway provides an endpoint for recovering deleted entities in the database.
NOTE: Entities that were permanently removed (after 30 days from the deletion date) cannot be recovered.

Request

Here is a basic example:

POST 

/api/v1/entities/:id/recover

POST /api/v1/entities/6798b7b709256629566d21bd/recover

Response

  • If the entity does not exist, the Gateway returns a 404 Not Found error.
  • If the entity is successfully recovered, the Gateway returns a 200 OK response.
  • If the entity was already recovered, the Gateway returns a 304 Not Modified response.