UpdateOrganizationMember

Updated at:

Updates the information of an organization member.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request syntax

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

Path Parameters

Parameter

Type

Required

Description

Example

organizationId

string

Yes

The Yunxiao organization ID.

5ebbc0228123212b59xxxxx

accountId

string

Yes

The Alibaba Cloud account ID.

243721251830762xxx

Request parameters

Parameter

Type

Required

Description

Example

organizationMemberName

string

Yes

The name of the organization member.

Name1

Response elements

Element

Type

Description

Example

object

The response information.

requestId

string

The request ID.

F7B85D1B-D1C2-140F-A039-341859F130B9

errorCode

string

The error code.

""

errorMessage

string

The error message.

""

member

object

The member information.

accountId

string

The Alibaba Cloud account ID.

292035769476261xxx

organizationMemberName

string

The name of the organization member.

Name1

success

boolean

Indicates whether the request is successful. Valid values:

  • true: Successful.

  • false: Failed.

true

Examples

Success response

JSON format

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

Error codes

HTTP status code

Error code

Error message

Description

400 InvalidUser.NotFound The user that is invoking the API service is not a registered user. The user that is invoking the API service is not a registered user.
400 InvalidParam.ParamNotPresent The parameter is invalid. The parameter is invalid.
403 InvalidParam.NoPermission param value is not permission. The current parameter has no permission
404 InvalidUser.UserNotInCurrentOrganization The current user is not in the organization and has no permission to operate.
404 InvalidOrganization.NotFound The organization is not found. The organization is not found. Please check the organization ID.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.