All Products
Search
Document Center

Data Management:ListUserOwnedResources

Last Updated:Jan 13, 2026

Obtains

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
TidlongNo

The ID of the tenant.

Note To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see the View information about the current tenant section of the "Manage DMS tenants" topic.
3***
UserIdstringYes

The ID of the user.

1***
DatabaseNamestringNo

The database name.

db_name
OwnerTypestringYes

The type of the owner. Valid values:

  • INSTANCE: an owner of an instance.
  • DATABASE: an owner of a physical database.
  • TABLE: an owner of a physical table.
INSTANCE
LogicbooleanNo

Specifies whether the database is a logical database. Valid values:

  • true.: The database is a logical database
  • false: The database is a physical database.
false
EnvTypestringNo

The type of the environment in which the database instance is deployed. Valid values:

  • product: production environment.
  • dev: development environment.
  • pre: pre-release environment.
  • test: test environment.
  • sit: system integration testing (SIT) environment.
  • uat: user acceptance testing (UAT) environment.
  • pet: stress testing environment.
  • stag: staging environment.
product
DbTypestringNo

The type of the database instance. For more information about the valid values of this parameter, see DbType parameter.

MYSQL
PageNumberintegerNo

The page number.

1
PageSizeintegerNo

The number of entries to return on each page.

10

Response parameters

ParameterTypeDescriptionExample
object
TotalCountlong

The total number of entries returned. By default, this parameter is not returned.

1
RequestIdstring

The request ID. You can use the request ID to locate logs and troubleshoot issues.

8E88933E-E3D4-5BA8-8CBF-0A1CAE666690
ErrorCodestring

The error code returned if the request failed.

UnknownError
ErrorMessagestring

The error message that is returned if the request failed.

UnknownError
Dataarray<object>

Indicates whether the request was successful. Valid values:

resourceListobject

The data returned.

InstanceIdstring

The ID of the instance.

291594
DbIdstring

The ID of the database in DMS.

29697059
SchemaNamestring

The name of the database.

as_task_engine
Logicboolean

Indicates whether the database is a logical database. Valid values:

  • true: The database is a logical database
  • false: The database is a physical database.
false
SearchNamestring

The query name of the database.

dtstest [dtstest_dms]
TableNamestring

The table name.

addepmap
EnvTypestring

The type of the environment to which the database instance belongs.

product
DbTypestring

The database engine type. For more information about the valid values of the DbType parameter, see DbType parameter.

MySQL
TableIdstring

The table ID.

1760934555
Aliasstring

The alias of the instance.

DMS_GYX_TESTupdata
Hoststring

The endpoint of the instance to which the database belongs.

rm-wz98bw60x1i1303c5.mysql.rds.aliyuncs.com
Portlong

The connection port of the instance to which the database belongs.

6379
DbInstanceIdstring

The ID of the instance to which the database belongs.

876XXX
Successboolean

Indicates whether the request was successful.

true

Examples

Sample success responses

JSONformat

{
  "TotalCount": 1,
  "RequestId": "8E88933E-E3D4-5BA8-8CBF-0A1CAE666690",
  "ErrorCode": "UnknownError",
  "ErrorMessage": "UnknownError",
  "Data": {
    "resourceList": [
      {
        "InstanceId": 291594,
        "DbId": 29697059,
        "SchemaName": "as_task_engine",
        "Logic": false,
        "SearchName": "dtstest [dtstest_dms]",
        "TableName": "addepmap",
        "EnvType": "product",
        "DbType": "MySQL",
        "TableId": 1760934555,
        "Alias": "DMS_GYX_TESTupdata",
        "Host": "rm-wz98bw60x1i1303c5.mysql.rds.aliyuncs.com",
        "Port": 6379,
        "DbInstanceId": "876XXX"
      }
    ]
  },
  "Success": true
}

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2025-10-30Add OperationView Change Details