All Products
Search
Document Center

Resource Management:RegisterDelegatedAdministrator

Last Updated:Jun 10, 2026

Menetapkan anggota dalam Direktori sumber daya sebagai akun administrator yang didelegasikan dari layanan tepercaya.

Deskripsi operasi

The delegated administrator account can be used to access the information of the resource directory and view the structure and members of the resource directory. The delegated administrator account can also be used to perform service-related management operations in the trusted service on behalf of the management account of the resource directory. When you call this operation, you must take note of the following limits:

  • Only some trusted services support delegated administrator accounts. For more information, see Supported trusted services.

  • Only the management account of a resource directory or an authorized RAM user or RAM role of the management account can be used to call this operation.

  • The number of delegated administrator accounts that are allowed for a trusted service is defined by the trusted service.

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

Tidak ada otorisasi untuk operasi ini. Jika Anda mengalami masalah saat menjalankan operasi ini, hubungi dukungan teknis.

Parameter permintaan

Parameter

Type

Required

Description

Example

AccountId

string

Yes

ID akun Alibaba Cloud anggota dalam Direktori sumber daya.

181761095690****

ServicePrincipal

string

Yes

Pengidentifikasi layanan tepercaya.

Untuk informasi selengkapnya, lihat kolom Trusted service identifier di Supported trusted services.

cloudfw.aliyuncs.com

Elemen respons

Element

Type

Description

Example

object

The returned result.

RequestId

string

The ID of the request.

0A45FC8F-54D2-4A65-8338-25E5DEBDA304

Contoh

Respons sukses

JSONformat

{
  "RequestId": "0A45FC8F-54D2-4A65-8338-25E5DEBDA304"
}

Kode kesalahan

HTTP status code

Error code

Error message

Description

409 InvalidParameter.ServicePrincipal The specified ServicePrincipal is invalid.
409 AccountAlreadyRegistered The specified account is already a delegated administrator for this service.
409 DelegatedAccountNumberExceeded The maximum number of delegated administrators for the service principal is exceeded.
409 CannotRegisterMasterAsDelegatedAdministrator You attempted to register the enterprise management account as a delegated administrator for the service. You can designate only a member account as a delegated administrator.

Lihat Error Codes untuk daftar lengkap.

Catatan rilis

Lihat Release Notes untuk daftar lengkap.