Actions72
- Bài Viết Actions
- Blog Actions
- Bộ Sưu Tập Actions
- Khách Hàng Actions
- Đơn Hàng Actions
- Trang Actions
- Sản Phẩm Actions
- Biến Thể Sản Phẩm Actions
Blog → Xóa
AI-generatedOverview
This node manages custom metafields on various resource types within the Sapo platform, such as blogs, articles, products, and more. It allows users to create, retrieve, update, delete, count, validate, and bulk delete metafields associated with these resources.
For the Blog resource with the Delete operation, the node deletes a specific custom metafield identified by its ID from a given blog post (resource). This is useful when you want to remove obsolete or incorrect custom metadata from blog entries.
Practical example:
If you have added custom tags or metadata fields to your blog posts for categorization or SEO purposes but later decide to remove some of them, this node can delete those specific metafields by their IDs.
Properties
| Name | Meaning |
|---|---|
| ID Tài Nguyên | The numeric ID of the blog post (resource) from which the metafield will be deleted. |
| ID Trường Tùy Chỉnh | The numeric ID of the custom metafield to delete from the specified blog post. |
Output
The output JSON contains a single field indicating success:
{
"success": true
}
This confirms that the metafield was successfully deleted.
If an error occurs, the output will contain an error field with the error message, provided the node is set to continue on failure.
Dependencies
- Requires an API authentication credential to connect to the Sapo platform.
- Uses the internal Sapo API base class to perform metafield operations.
- No additional external dependencies are required beyond the configured API credentials.
Troubleshooting
Common issues:
- Providing an invalid or non-existent blog post ID (
ID Tài Nguyên) or metafield ID (ID Trường Tùy Chỉnh) will cause the deletion to fail. - Insufficient permissions or invalid API credentials may result in authorization errors.
- Network connectivity problems can prevent communication with the Sapo API.
- Providing an invalid or non-existent blog post ID (
Error messages:
"Resource not found": The specified blog post or metafield does not exist. Verify the IDs."Unauthorized"or similar: Check that the API credentials are valid and have sufficient permissions.- Other API errors will be passed through; reviewing the error message and stack trace can help identify the issue.
Links and References
- Sapo API Documentation (general reference for Sapo platform APIs)
- n8n documentation on creating custom nodes