Request
Headers
The API key used for authentication and access control. This header parameter is required for authorization to delete a face from a collection.
Query Parameters
The unique identifier of the collection that contains the face you wish to delete.
The unique identifier of the face submission that you want to remove.
Response
Success Response (200)
A message indicating the success or error result of the deletion operation.
Error Responses
Bad Request (400)
Identifies the specific error for troubleshooting:
- 6010: CollectionId is required
- 6011: WorkspaceId is required
- 6012: Fail to add face
- 6013: Cannot find collection info
- 6014: This collection is unavailable
- 6015: Failed to validate liveness of a face
- 6016: Image Size is too large
- 6017: Unsupported image format
Briefly describes the error. Please refer to the error code for details.
Forbidden (403)
Identifies the specific error for troubleshooting:
- 6039: API Key is required
- 6040: Access Denied: API Key is unavailable
Briefly describes the error. Please refer to the error code for details.
Authorizations
Query Parameters
Unique identifier of the collection
Unique identifier of the face to delete
Response
Face successfully deleted from collection
Success message
Example:
"Face deleted successfully"