All Products
Search
Document Center

Identity as a Service:AddUserToOrganizationalUnits

Last Updated:Aug 08, 2025

Adds an EIAM account to one or more EIAM organizations. These organizations serve as subordinate organizations for the account. If the account is already a member of a specified organization, no update is performed.

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

POST /v2/{instanceId}/{applicationId}/users/{userId}/actions/addUserToOrganizationalUnits HTTP/1.1

Request parameters

Parameter

Type

Required

Description

Example

Authorization

string

Yes

The authentication information. Format: Bearer ${access_token}. Example: Bearer ATxxxx.

Bearer xxxx

instanceId

string

Yes

The instance ID.

idaas_ue2jvisn35ea5lmthk267xxxxx

applicationId

string

Yes

The application ID.

app_mkv7rgt4d7i4u7zqtzev2mxxxx

userId

string

Yes

The account ID.

user_d6sbsuumeta4h66ec3il7yxxxx

body

object

No

The request body.

organizationalUnitIds

array

Yes

A list of organization IDs.

[ou_wovwffm62xifdziem7an7xxxxx]

string

No

The organization ID.

ou_wovwffm62xifdziem7an7xxxxx

Response parameters

Parameter

Type

Description

Example

None defined.

Examples

Success response

JSON format

{}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.