[{"label":"Latest (1.0)","version":"latest"}]
srs-for-vsphere

Delete Runspace

Description

Deletes the PowerShell instance that is prepresented by this runspace resource. Running script in the PowerShell instance won’t prevent the operation.

Request

Request

URL

URL


delete
https://{api_host}/api/runspaces/{id}
Copy

Path Parameters

Path Parameters

string
id Required

Unique identifier of the runspace


Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

200 OK

Success

Errors

Errors

401

Unauthorized


500

Server Error

Code Samples

Code Samples

cURL Command

curl -X DELETE https://{api_host}/api/runspaces/{id}
Vendor Extensions

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
Feedback

Was this page helpful?