Menghapus pengguna organisasi tertentu.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
quickbi-public:DeleteUser |
delete |
*All Resource
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| UserId |
string |
Yes |
ID pengguna yang akan dihapus. ID pengguna ini adalah UserID Quick BI, bukan UID Alibaba Cloud. |
fe67f61a35a94b7da1a34ba174a7**** |
| TransferUserId |
string |
No |
ID penerus. Jika tidak kosong, resource laporan di ruang kerja pengguna yang dihapus akan dialihkan ke penerus; jika tidak, akan dialihkan ke Pemilik ruang kerja.
|
f5****afccd9e434a274 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
Request ID. |
DC4E1E63-B337-44F8-8C22-6F00DF67E2C3 |
| Result |
boolean |
Returns the execution result of the interface. Possible values:
|
true |
| Success |
boolean |
Indicates whether the request was successful. Possible values:
|
true |
Contoh
Respons sukses
JSONformat
{
"RequestId": "DC4E1E63-B337-44F8-8C22-6F00DF67E2C3",
"Result": true,
"Success": true
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | CannotRemove.OrganizationOwner | You cannot remove the organization owner from the organization. | You cannot remove the organization owner from the organization. |
| 400 | Member.ExistInWorkspace.Error | You cannot remove a user who is a member of a group workspace. | You cannot remove a user who is a member of a group workspace. |
| 400 | Workspace.Not.Exist | The group workspace does not exist. | The group workspace does not exist. |
| 400 | Workspace.Type.Error | The type of group workspace is invalid. | The type of group workspace is invalid. |
| 400 | Not.Organization.AuthAdmin | You are not a role administrator of the organization and do not have the permission to perform the operation. | You are not a role administrator of the organization and do not have the permission to perform the operation. |
| 400 | Works.Transfer.Error | You are not authorized to transfer this item. | You are not authorized to transfer this item. |
| 400 | CanNot.Remove.WorkspaceOwner | You cannot remove the group workspace owner from the group. | You cannot remove the group workspace owner from the group. |
| 400 | User.NotIn.Workspace | The user is not a member of the group workspace. | The user is not a member of the group workspace. |
| 400 | Transfer.TargetUser.NotExist | The new owner does not exist. Please ensure that the target user has logged on to the system. | The new owner does not exist. Please ensure that the target user has logged on to the system. |
| 400 | User.RoleType.Valid | The role ID is invalid. | The role ID is invalid. |
| 400 | Viewer.AddInTo.Workspace | Organization members with viewer type are not allowed to add to workspace: %s. | Organization members with viewer type are not allowed to add to workspace: %s. |
| 400 | UserAnalyst.NotSupport.ThisRole | This role has permissions that analysts cannot grant. | This role has permissions that analysts cannot grant. |
| 400 | Transfer.Not.Allowed | Transfer to users with lower space permissions is not allowed. | Transfer to users with lower space permissions is not allowed. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.