User - Disconnect Session
断开用户会话的连接。
断开用户会话与与指定 Rds 上下文关联的 TenantGroup、Tenant、HostPool、SessionHost 和 SessionId 的连接。
POST https://rdbroker.wvd.microsoft.com/RdsManagement/V1/Tenants/{tenantName}/HostPools/{hostPoolName}/SessionHosts/{sessionHostName}/Sessions/{sessionId}/actions/disconnect-user
URI 参数
| 名称 | 在 | 必需 | 类型 | 说明 |
|---|---|---|---|---|
|
host
|
path | True |
string |
所需的 HostPool。 |
|
session
|
path | True |
string |
所需的 SessionHost 名称。 |
|
session
|
path | True |
integer (int32) |
所需的会话 ID。 |
|
tenant
|
path | True |
string |
所需的租户名称。 |
响应
| 名称 | 类型 | 说明 |
|---|---|---|
| 404 Not Found |
TenantNotFound,HostPoolNotFound,SessionHostNotFound |