I'm managing a custom URL category via API calls. Domains are added, removed. Works well.
But, in some cases, I'd like to remove multiple domains or, more efficiently, clear the category (remove all entries) with one API call.
Any idea how to achieve this?
Solved! Go to Solution.
'Delete' allows to delete one and only 1 entry.
you can use 'edit' to rewrite entirely the content of a node.
Tx for your reply.
What do you mean by "rewrite the content of a node" exactly?
Let's assume that I've this custom category: "custom_url" with 3 domains:
I need to populate this category with a _new_ list of domains (some are the same, some are new, some are removed). Example:
What would be the best approach to populate the category with the new domains?
You should check our API guide. The part that interests you is here :
Do you know the limit of an API call (most browsers have a limit of 8KB for HTTP requests).
The custom URL category that I've to replace has a lot of entries.
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the Live Community as a whole!
The Live Community thanks you for your participation!