Tüm Ürünler
Search
Belge Merkezi

:BatchAddFeishuUsers

Son Güncelleme:Oct 01, 2026

Lark kullanıcılarını toplu olarak ekler.

Not

This API has been deprecated with no replacement. While temporary access is maintained, no further updates or bug fixes will be provided. To ensure continued functionality, plan your migration and contact your account manager for support.

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

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

quickbi-public:BatchAddFeishuUsers

create

*All Resource

*

None None

Request parameters

Parameter

Type

Required

Description

Example

IsAuthAdmin

boolean

No

Kullanıcının izin yönetimi yöneticisi olup olmadığını belirtir. Geçerli değerler:

  • true

  • false

Varsayılan değer: false.

true

IsAdmin

boolean

No

Kullanıcının yönetici kullanıcı olup olmadığını belirtir. Geçerli değerler:

  • true

  • false

Varsayılan değer: false.

False

FeishuUsers

string

No

Eklenecek kullanıcıların bilgileri.

{"ad****fd": "test", "82****5a": "t't"}"

UserGroupIds

string

No

Kullanıcıların ait olduğu kullanıcı grupları.

"0d5fb19b-5555-41f0-99da-1248fc27ca51,0f868dd6_68dd_4d13_8422_c5dca3bd4b61"

UserType

integer

No

Kullanıcı türü. Geçerli değerler:

  • 1: geliştirici

  • 2: ziyaretçi

  • 3: analist

1

Response elements

Element

Type

Description

Example

object

RequestId

string

İstek kimliği.

D8749D65-E80A-433C-AF1B-CE9C180FF3B4

Result

object

Kullanıcı grubu üyelerini ekleme işleminin sonucu. Geçerli değerler:

  • true: Kullanıcılar eklendi.

  • false: Kullanıcılar eklenemedi.

True

FailCount

integer

Doğrulamayı geçemeyen kullanıcı sayısı.

10

FailResults

array<object>

Başarısızlıkların ayrıntıları.

array<object>

FailInfos

array<object>

Hata nedenleri.

object

Code

string

Hata kodu.

ACCOUNT_EXIST

CodeDesc

string

Hata kodu açıklaması.

test

Input

string

Geçersiz giriş değeri.

20

OkCount

integer

Eklenen kullanıcı sayısı.

1

Success

boolean

İsteğin başarılı olup olmadığını gösterir. Geçerli değerler:

  • true: İstek başarılı oldu.

  • false: İstek başarısız oldu.

True

Examples

Success response

JSON format

{
  "RequestId": "D8749D65-E80A-433C-AF1B-CE9C180FF3B4",
  "Result": {
    "FailCount": 10,
    "FailResults": [
      {
        "FailInfos": [
          {
            "Code": "ACCOUNT_EXIST",
            "CodeDesc": "test",
            "Input": "20"
          }
        ]
      }
    ],
    "OkCount": 1
  },
  "Success": true
}

Error codes

HTTP status code

Error code

Error message

Description

400 Feishhu.Config.Not.Exit Feishu is not configured in the current organization
400 Feishu.User.Need.Sync.Contact Feishu need to sync contact list.
400 Feishu.Parameter.Error Feishu config error: %s.
400 Mail.Invalid Email/phone number is invalid.
400 Usergroup.Not.Exist The user group does not exist. The user group does not exist.
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 Feishu.User.Duplicated Feishu account already exists or bound:%s.
400 Viewer.CannotHave.CustomRole Organization viewer cannot have custom roles. Organization viewer cannot have custom roles.
400 UserAnalyst.NotSupport.ThisRole This role has permissions that analysts cannot grant. This role has permissions that analysts cannot grant.
400 User.OrganizationRole.NotExist User %s must have role in organization. User %s must have role in organization.
400 FeishuUser.UserGroup.AssociationError Feishu User can only be added into feishu or Bi user group.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.