All Products
Search
Document Center

Resource Management:UpdatePayerForAccount

Last Updated:Aug 28, 2026

Updates the billing account of a specified member in a resource directory.

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 syntax

POST  HTTP/1.1

Request parameters

Parameter

Type

Required

Description

Example

AccountId

string

Yes

The Alibaba Cloud account ID of the member.

138660628348****

PayerAccountId

string

Yes

The ID of the billing account.

12323344****

Response elements

Element

Type

Description

Example

object

The response object.

RequestId

string

The request ID.

9B34724D-54B0-4A51-B34D-4512372FE1BE

Examples

Success response

JSON format

{
  "RequestId": "9B34724D-54B0-4A51-B34D-4512372FE1BE"
}

Error codes

HTTP status code

Error code

Error message

Description

404 EntityNotExists.Account This resource directory account does not exist.
409 AccountTypeMismatch The type or status of the member account cannot satisfy the current operation.
409 InconsistentEnterpriseNameError The enterprise name of the payment account and the member must be consistent.
409 NotSupport.PayerAccountInAnotherResourceDirectory The specified payment account does not exist in the resource directory. You must specify a valid payment account.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.