ユーザーグループを作成します。親ユーザーグループを指定できます。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
quickbi-public:CreateUserGroup |
create |
*All Resource
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| UserGroupId |
string |
任意 |
ユーザーグループの一意の ID。
|
pop0001 |
| UserGroupName |
string |
必須 |
RAM ユーザーグループの名前。
|
杭州财报 |
| UserGroupDescription |
string |
任意 |
ユーザーグループの説明。
|
用户分组描述 |
| ParentUserGroupId |
string |
必須 |
親ユーザーグループの ID。このグループに新しいユーザーグループを追加できます:
|
3d2c23d4-2b41-4af8-a1f5-f6390f32**** |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
|||
| RequestId |
string |
リクエストの ID。 |
36829379-0C38-5BC0-830A-92665BF77D4F |
| Result |
string |
追加されたユーザーグループの ID が返されます。追加に失敗した場合は、空の文字列 '' が返されます。 |
f5eeb52e-d9c2-4a8b-80e3-47ab55c2**** |
| Success |
boolean |
リクエストが成功したかどうかを示します。有効な値:
|
true |
例
成功レスポンス
JSONJSON
{
"RequestId": "36829379-0C38-5BC0-830A-92665BF77D4F",
"Result": "f5eeb52e-d9c2-4a8b-80e3-47ab55c2****",
"Success": true
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | Usergroup.Not.Exist | The user group does not exist. | |
| 400 | Duplicate.Name.Error | The name already exists. | |
| 400 | UserGroup.Parent.NotFound | The parent user group does not exist. | |
| 400 | Duplicate.UserGroup.Id | Duplicated usergroupId %s. | |
| 400 | RootUserGroup.Create.Error | organization %s has synchronized with other organizational structures, so user groups cannot be created under the root user group. | |
| 400 | UserGroup.Already.Synchronized | Organization has synchronized with other organizational structures, so you are not allowed to add users under group. | |
| 400 | UserGroup.Layer.Limited | The user group cannot have more than ten layers. | |
| 400 | UserGroup.ExceedsLimit.Error | User group exceed limit, %s. | |
| 400 | Duplicate.UserGroupName.Error | There is already a user group with the same name %s, please rename it before saving. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。