Scheduled Task Remove Scheduled Task
Removes the scheduled task.
Required privileges: ScheduledTask.Delete
Request
URI
POST
https://{api_host}/sdk/vim25/{release}/ScheduledTask/{moId}/RemoveScheduledTask
COPY
Path Parameters
string
moId
Required
The unique identifier for the managed object to which the method attaches; the serialized managed object reference for a request has the form moType/moId
, in this case ScheduledTask/{moId}
.
string
release
Required
The vSphere release schema. The current specification covers vSphere 8.0.2.0 APIs.
Responses
204
No Content
Operation doesn't return any data structure
500
InvalidState: if the scheduled task is running.
Returns
InvalidState
of type(s)
application/json
"InvalidState Object"
Code Samples
COPY
curl -X POST -H 'Authorization: <value>' https://{api_host}/sdk/vim25/{release}/ScheduledTask/{moId}/RemoveScheduledTask