Hi,
There seems no endpoint for recycle. But there's a workaround.
You can use 'Patch' at the application pool endpoint (/api/webserver/application-pools/{id}) with a recycling schedule
{
"recycling": {
"periodic_restart": {
"schedule": [
"21:38:45"
]
}
},
}
The time format is 24hours hh:mm:ss of current day. After recycled, you can clear the schedule with empty value.
{
"recycling": {
"periodic_restart": {
"schedule": [
]
}
},
}
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.