[{"label":"Latest (1.0)","version":"latest"}]
srs-for-vsphere
Delete Runspace
DescriptionDeletes the PowerShell instance that is prepresented by this runspace resource. Running script in the PowerShell instance won’t prevent the operation.
Request
URLURL
https://{api_host}/api/runspaces/{id}
Path Parameters
Path Parameters
string
id
Required
Unique identifier of the runspace
Authentication
This operation uses the following authentication methods.
Errors
Errors
ErrorDetails
401
Unauthorized
ErrorDetails
500
Server Error
Code Samples
cURL Command
curl -X DELETE https://{api_host}/api/runspaces/{id}
Vendor Extensions
This operation contains the following vendor extensions defined in the spec:
x-vmw-vapi-methodname: delete
x-vmw-vapi-servicename: runspaces
[{"label":"Latest (1.0)","version":"latest"}]
srs-for-vsphere