CmdID / aws / aws workspaces
aws workspaces terminate-workspaces
Terminates the specified WorkSpaces. AWS CLI reference
1 example 1 option Its page in the AWS CLI reference
Examples
To terminate a WorkSpace
The following terminate-workspaces example terminates the specified workspace.
aws workspaces terminate-workspaces --terminate-workspace-requests ws-dk1xzr417Identify--terminate-workspace-requestsThe WorkSpaces to terminate.Its output
{
"FailedRequests": []
}For more information, see Delete a WorkSpace in the Amazon WorkSpaces Administration Guide.
Options
--terminate-workspace-requestsThe WorkSpaces to terminate.