Kaspersky Security for Virtualization 6.0 Light Agent

激活租户

2024年1月25日

ID 259251

允许将租户状态更改为“活动”。

方法:

POST /api/2.0/virtualization/tenants/{租户 ID}/activate

其中:

{租户 ID} – Integration Server 数据库中的租户标识符(必需参数)。

请求以异步方式执行,REST API 返回“ChangeTenantActivation”任务的标识符。使用任务,您可以监控更改租户状态的过程的进度。任务完成后,“结果”字段会显示租户状态更改确认 (true) 或错误消息。

返回代码:

  • 202 (Accepted) – 请求被接受进行执行。响应返回“ChangeTenantActivation”任务的识别符。
  • 403 (Forbidden) – 资源访问被拒绝。

任务中的错误代码:

  • VIRMT_TenantWithSpecifiedIdNotFound – 在 Integration Server 数据库中找不到具有指定标识符的租户。
  • KSC_ServiceNotConfigured – Kaspersky Security Center 连接设置未指定。

Did you find this article helpful?
What can we do better?
Thank you for your feedback! You're helping us improve.
Thank you for your feedback! You're helping us improve.