All Products
Search
Document Center

ApsaraDB for MongoDB:CreateNodeRoleTag

Last Updated:Dec 26, 2025

Creates a role tag for an instance node.

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

DBInstanceId

string

Yes

The instance ID.

dds-2ze09d7be1fxxxxx

ShardList

string

No

The ID of the shard node.

Note
  • This parameter applies only to sharded cluster instances.

d-l5xf98b78b9fxxxx,d-l5xf98b7sf9fxxxx

Response elements

Element

Type

Description

Example

object

RequestId

string

The request ID.

B0B7DE3E-xxxx-xxxx-xxxx-0B16F8834E0B

Examples

Success response

JSON format

{
  "RequestId": "B0B7DE3E-xxxx-xxxx-xxxx-0B16F8834E0B"
}

Error codes

HTTP status code

Error code

Error message

Description

400

InvalidParameters.Format

Specified parameters is not valid.

The parameter entered is invalid.

400

InvalidFilterParam

Specified filter is not valid.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.