Lark kullanıcılarını toplu olarak ekler.
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
Test
RAM authorization
|
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:
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:
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 |
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 |
| 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 |
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.