Delete

Permanently removes a previously enrolled face template from the database using its templateId.

This action is irreversible.

Endpoint

POST https://cloud.ooto-ai.com/api/v1.0/delete

Request Format

  • Method: POST

  • Content-Type: application/json

Body

Field

Type

Required

Description

templateId

String

Yes

ID of the template to delete

Authentication Headers

To access the API, you need to include the following headers in your request:

  • APP-ID: Your application's unique identifier.

  • APP-KEY: Your application's authentication key.

Example Request (cURL)

curl -X POST --location 'https://cloud.ooto-ai.com/api/v1.0/delete' \
--header 'APP-ID: <put_app_id_here>' \
--header 'APP-KEY: <put_app_key_here>' \
--data '{"templateId": "<Template ID>"}'

Replace «put_app_id_here», «put_app_key_here» with your actual credentials.

Successful Response (HTTP 200)

{
    "transactionId": "eac44e91-6a20-45e0-8fbb-1c9ed2c8a3d8"
}

Error response (HTTP 400)

{
    "transactionId": "9191079a-4f80-4c8a-9a4b-528af2cfd3c4",
    "result": {
        "status": "error",
        "code": 400,
        "info": "Template not found"
    }
}

Last updated