Delete Avatar
DELETE
/v1/avatars/{avatar_id}Delete a user-owned avatar.
Request History
Log in to see full request history
| TIME | STATUS | USER AGENT |
|---|---|---|
| Make a request to see history. | ||
0 Requests This Month
Path Parameters
| Parameter | Type | Description |
|---|---|---|
| avatar_id | string | The unique identifier of the avatar to delete |
Request Example
shell
curl -X DELETE https://api.konpro.ai/v1/avatars/{avatar_id} \
-H "x-api-key: <your-api-key>" \
-H "Content-Type: application/json"Response
| Field | Type | Description |
|---|---|---|
| message | string | Success message confirming the avatar deletion |
| avatar_id | string | The unique identifier of the deleted avatar |
Sample Successful Response
json
{
"message": "Avatar deleted successfully",
"avatar_id": "avatar-3655"
}Notes
- This endpoint requires authentication using the
x-api-keyheader. - Replace
{avatar_id}in the URL with the actual avatar ID you want to delete. - You can only delete avatars that you own. Public avatars cannot be deleted.
- This action is permanent and cannot be undone. Make sure you want to delete the avatar before making this request.
- For error descriptions, see Error Responses.