v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1465453454.1 KB

Deletes the specified collection. Note that this operation removes all faces in the collection. For an example, see Deleting a collection.

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

post/#X-Amz-Target=RekognitionService.DeleteCollection

Headers

X-Amz-Target'RekognitionService.DeleteCollection' required

Request body

CollectionIdstring required

ID of the collection to delete.

Response

Success

StatusCodeinteger

HTTP status code that indicates the result of the operation.

Example response

{
  "StatusCode": 200
}