orchestrator
latest
false
Orchestrator API 指南
租户请求
注意:您必须是组织管理员才能发出租户请求。
注意:
AdminEmailAddress
、 AdminName
、 AdminSurname
、 AdminPassword
和 AdminUserKey
参数始终返回为 null
。
以下示例使您能够查看具有 99
Id
的租户的详细信息。
获取
https://govcloud.uipath.us/{organizationName}/{tenantName}/orchestrator_/odata/Tenants(99)
{
"@odata.context": "https://govcloud.uipath.us/{organizationName}/{tenantName}/orchestrator_/odata/$metadata#Tenants/$entity",
"Name": "Documentation",
"AdminEmailAddress": null,
"AdminName": null,
"AdminSurname": null,
"AdminPassword": null,
"LastLoginTime": "2018-11-26T11:28:03.56Z",
"IsActive": true,
"Id": 99,
"License": {
"HostLicenseId": null,
"CreationTime": "2018-01-12T11:49:48.177Z",
"Code": "1234567890",
"Id": 99,
"Allowed": {
"Unattended": 99,
"Attended": 99,
"NonProduction": 99,
"Development": 99
}
}
}
{
"@odata.context": "https://govcloud.uipath.us/{organizationName}/{tenantName}/orchestrator_/odata/$metadata#Tenants/$entity",
"Name": "Documentation",
"AdminEmailAddress": null,
"AdminName": null,
"AdminSurname": null,
"AdminPassword": null,
"LastLoginTime": "2018-11-26T11:28:03.56Z",
"IsActive": true,
"Id": 99,
"License": {
"HostLicenseId": null,
"CreationTime": "2018-01-12T11:49:48.177Z",
"Code": "1234567890",
"Id": 99,
"Allowed": {
"Unattended": 99,
"Attended": 99,
"NonProduction": 99,
"Development": 99
}
}
}
此请求将为
Id
为 4 的租户禁用监控功能。
要启用此功能,请将
Monitoring.Enabled
参数设置为 true
,从而向 /odata/Features/UiPath.Server.Configuration.OData.UpdateFeaturesBulk
端点发出请求。
发布
https://govcloud.uipath.us/{organizationName}/{tenantName}/orchestrator_/odata/Features/UiPath.Server.Configuration.OData.UpdateFeaturesBulk
{
"Name": "Monitoring.Enabled",
"TenantId": [4]
"Value": False
}
{
"Name": "Monitoring.Enabled",
"TenantId": [4]
"Value": False
}