/collections/{collectionId}
Deletes a collection from the database, together with all the images and specimens (faces) that reference it.
JWT signed with HS256 (shared secret auth_jwt_secret) and with a non-expired exp claim; if it includes nbf, it must be currently valid. Only applied if auth_enabled is true and auth_accept_authorization_header is true. The Bearer scheme is case-insensitive.
An identifier that allows grouping different images or biometric templates in a common space. It can only contain ASCII letters (A-Z, a-z), digits (0-9), underscore (_) and hyphen (-); it cannot be empty and it is case-sensitive. The following are not allowed: spaces, dots, +, :, @, quotes, %, ~, /, or non-ASCII characters (ñ, accents, emoji...): the identifier is used as a path parameter and any other character prevents its use. It must correspond to a collection previously created with POST /collections.
bank01_collection01Pattern: ^[A-Za-z0-9_-]+$The result of the deletion.
true if the collection was deleted
trueIncorrect parameters arrive in the request, or no collection exists with that collectionId.
JWT authentication is enabled and the token is missing or invalid.
An error occurred while calling the backend.
DELETE /collections/{collectionId} HTTP/1.1
Host: 127.0.0.1:6982/
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
trueLast updated