添加组织成员。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
授权信息
当前API暂无授权信息透出。
请求参数
名称 | 类型 | 必填 | 描述 | 示例值 |
---|---|---|---|---|
AdminUser | boolean | 是 | 是否是管理员。取值范围:
| true |
AuthAdminUser | boolean | 是 | 是否是权限管理员。取值范围:
| true |
UserType | integer | 是 | 组织成员的角色类型。取值范围:
| 1 |
AccountName | string | 是 | 阿里云账号名称。
| xxxxxx@163.com |
NickName | string | 是 | 阿里云账号昵称。
| 张三 |
返回参数
示例
正常返回示例
JSON
格式
{
"Success": true,
"RequestId": "D787E1A3-A93C-424A-B626-C2B05DF8D885",
"Result": {
"UserType": 1,
"UserId": "b5d8fd9348cc4327****afb604",
"AuthAdminUser": true,
"NickName": "张三",
"AdminUser": true,
"AccountName": "xxxxxx@163.com"
}
}
错误码
HTTP status code | 错误码 | 错误信息 | 描述 |
---|---|---|---|
400 | Invalid.Parameter | An error occurred while verifying parameters. | 参数验证失败。 |
400 | Organization.Developers.ReachedTheUpperLimit | The developers of the organization have reached the upper limit:%s | 组织开发者已达到上限 %s 人,请升级联系组织管理员升级开发者数量。 |
400 | Organization.Viewers.ReachedTheUpperLimit | The visitors of the organization have reached the upper limit:%s. | 组织访问者已达到上限%s人,请升级联系组织管理员升级访问者数量。 |
400 | Organization.Analysts.ReachedTheUpperLimit | The analysts of the organization have reached the upper limit:%s. | 组织分析师已达到上限%s人,请升级联系组织管理员升级分析师数量。 |
400 | Invalid.User.Admin | You are not an administrator of this organization. | 没有权限,您不是组织管理员。 |
400 | NickName.AlreadyIn.Organization | The alias already exists. | 昵称已存在。 |
400 | User.AlreadyIn.Organization | This user is already a member of the current organization. | 该用户已在当前组织中。 |
400 | User.AlreadyIn.Organization | The user already exists. | 该用户已在其他组织中。 |
400 | Invalid.User.Organization | The user is not in your organization. | 该用户不在您的组织中。 |
400 | UserInfo.Error | The personal information is invalid. | 个人信息不合法。 |
400 | Instance.Over.MaxLicense | You have reached the maximum number of users that can be added. Please upgrade the configurations or remove some users first. | 您可以添加的用户已达上限,请升级配置或移除其它用户后再添加。 |
400 | System.Param.Empty | You must specify the %s parameter. | 参数%s不能为空。 |
400 | Instance.Expired | Your instance has expired. | 您的购买实例已经过期。 |
400 | Instance.Not.Exist | The specified instance does not exist. | 暂未匹配到您的购买实例。 |
400 | Access.Forbidden | Access forbidden. Your instance version or access key is not allowed to call the API operation. | - |
400 | Invalid.Organization | The specified organizational unit does not exist. | 该组织不存在。 |
400 | User.Not.In.Organization | The specified user is not in the organizational unit. | 该用户不在组织中。 |
400 | Invalid.Parameter.Error | The parameter is invalid:%s. | 无效参数%s。 |
400 | Internal.System.Error | An internal system error occurred. | 系统内部异常。 |
400 | Invalid.Param.Error | The parameter is invalid. | 无效参数。 |
400 | ApiUser.Not.Exists | The specified user does not exist. | 用户不存在。 |
访问错误中心查看更多错误码。