deleteFaces

Deletes faces from a collection. You specify a collection ID and an array of face IDs to remove from the collection.

This operation requires permissions to perform the rekognition:DeleteFaces action.

Samples


fun main() { 
   //sampleStart 
   // This operation deletes one or more faces from a Rekognition collection.
val resp = rekognitionClient.deleteFaces {
    collectionId = "myphotos"
    faceIds = listOf<String>(
        "ff43d742-0c13-5d16-a3e8-03d3f58e980b"
    )
} 
   //sampleEnd
}