Skip to content

Delete Collection

rekognition_delete_collection R Documentation

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

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

## End(Not run)