Delete Video Response
This endpoint allows you to delete a specific video response from a FacePop.
Endpoint Details
Request
DELETE /facepop/response/video/delete
This endpoint requires a DELETE request with your API key, a facepopId parameter, and an id parameter.
Parameters
Required Parameters:
APIKey
Your unique API key to authenticate the request.
facepopId
A string containing the ID of the FacePop that contains the video response.
id
The ID of the specific video response you want to delete.
Note: All parameters must be included in the request for successful deletion of the video response.
Response
Status: 200 OK
The endpoint always returns a 200 OK status code with a JSON response.
Success Response Body:
{
"status": true,
"data": {}
}
Error Response:
{
"status": false,
"data": "This video response was not found or does not belong to your account"
}
Various error messages may be returned based on the specific issue encountered.
Example Request
Using cURL:
curl -X DELETE "https://api.answerly.io/facepop/response/video/delete?APIKey=your_api_key_here&facepopId=your_facepop_id_here&id=response_id_to_delete"
Important Notes
Deletion is Permanent
Once a video response is deleted, it cannot be recovered. Make sure you want to permanently remove the response before sending the delete request.
Authentication
This endpoint requires the same APIKey authentication as other FacePop endpoints. Ensure your API key is valid and has the necessary permissions to delete responses from the specified FacePop.
Error Handling
Always check the status field in the response to confirm if the operation succeeded. If the status is false, the data field will contain an error message explaining what went wrong.