06-20-2019 01:03 AM
Is it possible to delete a record:host on a scheduled date via the (W)API?
I know it is possible to schedule the deletion of a record host via the UI, but I am unable to do this via the API.
Currently I am able to:
- Delete a record:host directly with /DELETE /wapi/v2.0/record:host/
- See a list of scheduled tasks with /GET /wapi/v2.0/scheduledtask/
It seems that there is not attribute which I can add to the delete call to do the deletion on a certain date and the API doesn't allow me to create a new scheduled task.
Is there any other way this is achieveable?
Solved! Go to Solution.
06-27-2019 01:43 AM
We can do it :
Delete a record with Schedule time :
You can give the scheduled_time in the parameter