CmdID

CmdID / aws / aws rekognition

aws rekognition delete-faces

Deletes faces from a collection. AWS CLI reference

1 example 2 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To delete faces from a collection

The following delete-faces example deletes the specified face from a collection.

aws rekognition delete-faces --collection-id MyCollection --face-ids '["a1b2c3d4-5678-90ab-cdef-EXAMPLE11111"]'Identify
--collection-idCollection from which to remove the specific faces.
--face-idsAn array of face IDs to delete.
Its output
{
    "DeletedFaces": [
        "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111"
    ]
}

For more information, see Deleting Faces from a Collection in the Amazon Rekognition Developer Guide.

Options

2 in the AWS CLI reference
--collection-idCollection from which to remove the specific faces.
--face-idsAn array of face IDs to delete.