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
Examples
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
--collection-idCollection from which to remove the specific faces.--face-idsAn array of face IDs to delete.