Skip to content

Deletes the specified collection

Description

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.

Usage

rekognition_delete_collection(CollectionId)

Arguments

  • CollectionId

    [required] ID of the collection to delete.

Value

A list with the following syntax:

list(
  StatusCode = 123
)

Request syntax

svc$delete_collection(
  CollectionId = "string"
)

Examples

# This operation deletes a Rekognition collection.
svc$delete_collection(
  CollectionId = "myphotos"
)