Delete

DELETE /api/<class>/<object id>/[?cascade]

Deletion of an object corresponds to setting the attribute active to false, in almost all classes. These deleted objects can be shown in a list (see chapter Get - deleted objects), in detail and most of them can be re-enabled (there are exceptions, e.g. inputs).

The parameter cascade cascades the deletion to child objects. Works just for these classes:

affectedgene / triggeredgene / drivergenotypefishlinestocksubstock

Re-enable (undelete)

PUT /api/<class>/<object id>/enable/

This function is not available for any input.

Exceptions

  • These classes are physically deleted from the database:
    • position
    • rack
    • attachment
  • These classes can't be deleted:
    • message
    • input - types update_* and request_*
  • These classes can't be re-enabled:
    • input