文档

UpdateOrganizationMember - 更新企业成员信息

更新时间:

更新企业成员信息。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

授权信息

当前API暂无授权信息透出。

请求语法

PUT /organization/{organizationId}/members/{accountId}

请求参数

名称类型必填描述示例值
organizationIdstring

云效企业 ID

5ebbc0228123212b59xxxxx
accountIdstring

云账号 ID

243721251830762xxx
organizationMemberNamestring

企业成员名

名字1

返回参数

名称类型描述示例值
object

返回信息

requestIdstring

请求 ID

F7B85D1B-D1C2-140F-A039-341859F130B9
errorCodestring

错误码

""
errorMessagestring

错误信息

""
memberobject

成员信息

accountIdstring

阿里云账号 ID

292035769476261xxx
organizationMemberNamestring

企业成员名

名字1
successboolean

请求是否成功。

  • true:成功

  • false:失败

true

示例

正常返回示例

JSON格式

{
  "requestId": "F7B85D1B-D1C2-140F-A039-341859F130B9",
  "errorCode": "\"\"",
  "errorMessage": "\"\"",
  "member": {
    "accountId": "292035769476261xxx",
    "organizationMemberName": "名字1"
  },
  "success": true
}

错误码

HTTP status code错误码错误信息描述
400InvalidUser.NotFoundThe user that is invoking the API service is not a registered user.调用 API 的用户,未注册为云效用户
400InvalidParam.ParamNotPresentThe parameter is invalid.参数有误,请检查参数
403InvalidParam.NoPermissionparam value is not permission.当前参数无权限
404InvalidUser.UserNotInCurrentOrganizationThe current user is not in the organization and has no permission to operate.当前用户不在该企业中,无权进行操作。
404InvalidOrganization.NotFoundThe organization is not found.企业不存在,请检查企业ID是否正确

访问错误中心查看更多错误码。