Actions30
- Bạn Bè Actions
- Tài Khoản Actions
- Riêng Tư Actions
- Biệt Danh Actions
- ẢNh ĐạI Diện Actions
- Tin Nhắn Actions
- Hệ Thống Actions
ẢNh ĐạI Diện → Xóa Ảnh Đại Diện
AI-generatedOverview
This node operation deletes one or multiple avatar photos on the Zalo platform by their IDs. It is useful for managing and cleaning up user profile images programmatically, such as removing outdated or unwanted avatars in bulk by specifying their IDs.
Use Case Examples
- Deleting a single avatar photo by providing its ID.
- Deleting multiple avatar photos by providing a comma-separated list of photo IDs.
Properties
| Name | Meaning |
|---|---|
| Danh Sách ID ẢNh | ID or list of IDs of the avatar photos to delete, separated by commas. |
Output
JSON
status- Status code of the delete operation, indicating success or failure.photoId- The ID of the photo that was requested to be deleted.message- A message describing the result of the delete operation.response- The raw response from the Zalo API after attempting to delete the avatar photo.
Dependencies
- Requires valid Zalo API credentials including cookie, imei, and userAgent for authentication.
Troubleshooting
- Ensure the photo IDs are correctly formatted and exist on the Zalo account.
- Verify that the Zalo API credentials are valid and have the necessary permissions.
- Common error messages include invalid credentials or exceeding the maximum number of photo IDs allowed (50).
- If the node throws an error about missing API instance, check that credentials are properly set up.
Links
- Zalo Node Documentation by diginno.net - Official documentation and usage guide for the Zalo node in n8n.