Delete
This API allows you to delete customer selfies or photo images from your database.
Endpoint
POST https://cloud.ooto-ai.com/api/v1.0/delete
Request body (multipart/form-data)
templateId: (UUID) Unique identificator.
Authentication
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
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>' \
--form 'templateId=<UUID>'
Replace «put_app_id_here», «put_app_key_here» with your actual credentials.
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