Hapus anggota dari ruang kerja yang ditentukan.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
quickbi-public:DeleteUserFromWorkspace |
delete |
*All Resource
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| WorkspaceId |
string |
Yes |
ID ruang kerja. |
95296e95-ca89-4c7d-8af9-dedf0ad0**** |
| UserId |
string |
Yes |
ID pengguna yang akan dihapus. Perhatikan bahwa UserID ini adalah untuk Quick BI, bukan UID Alibaba Cloud. |
de4bc5f9429141cc8091cdd1c15b**** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
DC4E1E63-B337-44F8-8C22-6F00DF67E2C3 |
| Result |
boolean |
Mengembalikan hasil eksekusi API. Nilai yang mungkin:
|
true |
| Success |
boolean |
Menunjukkan apakah permintaan berhasil. Rentang nilai:
|
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 | Workspace.NotIn.Organization | The workspace is not owned by the organization. | |
| 400 | Workspace.Not.Exist | The group workspace does not exist. | |
| 400 | Workspace.Type.Error | The type of group workspace is invalid. | |
| 400 | CanNot.Remove.WorkspaceOwner | You cannot remove the group workspace owner from the group. | |
| 400 | User.NotIn.Workspace | The user is not a member of the group workspace. | |
| 400 | Cannot.TransferTo.Owner | You cannot transfer an item to its current owner. | |
| 400 | Works.Transfer.Error | You are not authorized to transfer this item. | |
| 400 | Transfer.TargetUser.NotExist | The new owner does not exist. Please ensure that the target user has logged on to the system. | |
| 400 | PersonalWorkspace.NotSupport.AllTransfer | Personal workspaces cannot be transferred. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.