医疗智能体 EIHEALTH-创建用户:请求示例

时间:2024-05-10 16:07:30

请求示例

创建用户,用户名为example_user,密码为example,角色为ADMIN,邮箱为example@huawei.com,电话为12345678910,作业配额为10,作业超时时长为1天,CPU的核数配额为50,内存的配额为128GB,用户可创建的项目数为2

https://eihealth.cn-north-4.myhuaweicloud.com/v1/{project_id}/users

{
  "name" : "example_user",
  "password" : "example",
  "role" : "ADMIN",
  "email" : "example@huawei.com",
  "phone" : "12345678910",
  "areacode" : "0086",
  "settings" : {
    "job_quota" : 10,
    "cpu_quota" : 50,
    "mem_quota" : 128,
    "job_timeout" : 1,
    "projects_per_user" : 2
  }
}
support.huaweicloud.com/api-eihealth/CreateUser_0.html