All Products
Search
Document Center

Resource Management:SetMemberDeletionPermission

Last Updated:Aug 27, 2026

Enables or disables the member deletion feature.

Operation description

Resource account members can be deleted only after this feature is enabled.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

Status

string

Yes

Whether to enable the member deletion feature. Valid values:

  • Enabled: enables the member deletion feature.

  • Disabled: disables the member deletion feature.

Enabled

Response elements

Element

Type

Description

Example

object

The returned result.

RequestId

string

The request ID.

C55A4CAA-9039-1DDF-91CE-FCC134513D29

MemberDeletionStatus

string

The status of the member deletion feature. Valid values:

  • Enabled: The feature is enabled.

  • Disabled: The feature is disabled.

Enabled

ManagementAccountId

string

The management account ID of the resource directory.

151266687691****

ResourceDirectoryId

string

The resource directory ID.

rd-3G****

Examples

Success response

JSON format

{
  "RequestId": "C55A4CAA-9039-1DDF-91CE-FCC134513D29",
  "MemberDeletionStatus": "Enabled",
  "ManagementAccountId": "151266687691****",
  "ResourceDirectoryId": "rd-3G****"
}

Error codes

HTTP status code

Error code

Error message

Description

400 InvalidParameter.Status The specified Status is invalid.
403 MemberAccountAccessDenied The member account is not allowed to perform the operation.
404 EntityNotExists.ResourceDirectory The resource directory for the account is not enabled. We recommend that you first enable the resource directory for the account.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.