Admin Create Org Rekognition Collection

Create a new Rekognition collection for this organization and save its ID to the DB. Auto-generates the collection ID as 'pavoot-{env}-{org-name-slug}' where env comes from the request body (dev/staging/prod, detected client-side from the browser hostname). Returns an error if the org already has a custom collection set. Migrates existing faces from the org's projects into the new collection as a background task.

post/admin/organizations/{organization_id}/create-rekognition-collection

Path parameters

organization_idinteger required

Request body

envstring

Response

Successful Response

{"stackTrail":"paths:/admin/organizations/{organization_id}/create-rekognition-collection:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes

No recorded changes to this endpoint across all 2 revisions of this API.