Discussions
I can not delete the uploaded photo avatar via API
4 months ago by null
By the reference, https://docs.heygen.com/reference/upload-talking-photo
I sucessfully uploaded a photo image via the below.
curl -XPOST https://upload.heygen.com/v1/talking_photo
-H 'x-api-key: xxx'
--data-binary '@'
-H 'Content-Type: image/jpeg'
And I got the talking_photo_id="a5cb86f2d6a247299a55c996e4674c4c".
Later when I try to delete it by the following, it always happens an error.
{{baseUrl}}/v2/talking_photo/a5cb86f2d6a247299a55c996e4674c4c
{
"data": null,
"error": {
"code": "internal_error",
"message": "talking photo not found"
}
}
The uploaded photo avatar still exists in Avatars menu of dashboard.
How can I delete it using api?