All Products
Search
Document Center

Quick BI:DeleteUser

Last Updated:Jun 11, 2026

Menghapus pengguna organisasi tertentu.

Coba sekarang

Coba API ini di OpenAPI Explorer tanpa perlu penandatanganan manual. Panggilan yang berhasil akan secara otomatis menghasilkan contoh kode SDK sesuai dengan parameter Anda. Unduh kode tersebut dengan kredensial bawaan yang aman untuk penggunaan lokal.

Test

RAM authorization

Tabel berikut menjelaskan otorisasi yang diperlukan untuk memanggil API ini. Anda dapat menentukannya dalam kebijakan Resource Access Management (RAM). Kolom pada tabel dijelaskan sebagai berikut:

  • Action: Aksi yang dapat digunakan dalam elemen Action pada pernyataan kebijakan izin RAM untuk memberikan izin guna melakukan operasi tersebut.

  • API: API yang dapat Anda panggil untuk melakukan aksi tersebut.

  • Access level: Tingkat akses yang telah ditentukan untuk setiap API. Nilai yang valid: create, list, get, update, dan delete.

  • Resource type: Jenis resource yang mendukung otorisasi untuk melakukan aksi tersebut. Ini menunjukkan apakah aksi tersebut mendukung izin tingkat resource. Resource yang ditentukan harus kompatibel dengan aksi tersebut. Jika tidak, kebijakan tersebut tidak akan berlaku.

    • Untuk API dengan izin tingkat resource, jenis resource yang diperlukan ditandai dengan tanda bintang (*). Tentukan Nama Sumber Daya Alibaba Cloud (ARN) yang sesuai dalam elemen Resource pada kebijakan.

    • Untuk API tanpa izin tingkat resource, ditampilkan sebagai All Resources. Gunakan tanda bintang (*) dalam elemen Resource pada kebijakan.

  • Condition key: Kunci kondisi yang didefinisikan oleh layanan. Kunci ini memungkinkan kontrol granular, berlaku baik hanya untuk aksi maupun untuk aksi yang terkait dengan resource tertentu. Selain kunci kondisi spesifik layanan, Alibaba Cloud menyediakan serangkaian common condition keys yang berlaku di semua layanan yang didukung RAM.

  • Dependent action: Aksi dependen yang diperlukan untuk menjalankan aksi tersebut. Untuk menyelesaikan aksi tersebut, pengguna RAM atau role RAM harus memiliki izin untuk melakukan semua aksi dependen.

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.

  • Penerus tidak boleh berupa pengunjung organisasi

  • Izin penerus di ruang kerja tidak boleh lebih rendah daripada izin pengguna yang dihapus, dengan urutan izin manajemen > izin pengembangan > izin berbagi > izin melihat

  • Jika penerus tidak berada di ruang kerja, mereka akan ditambahkan secara otomatis ke 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: Execution succeeded

  • false: Execution failed

true

Success

boolean

Indicates whether the request was successful. Possible values:

  • true: The request was successful - false: The request failed

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.