DeleteImage

Deletes Image objects that satisfy the specified constraints.

Parameters

  • [optional] image: Reference to images within the transaction (either the result of a FindImage or an AddImage).

Blocks

Details

Either image OR constraints must be specified, not both.

Examples

Delete image with “some_id” property equal to 22:

[ {
    "FindImage" : {
        "_ref": 1,
        "constraints": {
            "some_id": ["==", 22]
        },
        "results": {
            "blob": False
        }
    }
}, {
    "DeleteImage": {
        "image": 1,
    }
}]