Try it now
Test
RAM authorization
Request syntax
POST HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID. |
cn-hangzhou |
| DBClusterId |
string |
Yes |
The AgenticDB cluster ID. |
pagc-bp1abcdef1234567 |
| TenantName |
string |
Yes |
The name of the tenant. It must be 1 to 64 characters in length, start with a letter, and contain only letters, digits, underscores (_), and hyphens (-). |
my-tenant |
| Description |
string |
No |
The description of the tenant. The description can be up to 256 characters in length. |
Example tenant |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The AgenticDB tenant creation response. |
||
| RequestId |
string |
The request ID. |
01A13E8C-3773-1A76-BA95-96EA81D260DC |
| TenantId |
string |
The tenant ID. |
t-4b83e0da66674951 |
| TenantName |
string |
The tenant name. |
my-tenant |
| DBClusterId |
string |
The AgenticDB cluster ID. |
pagc-bp1abcdef1234567 |
| CreateTime |
string |
The creation time. |
2026-10-15T08:00:00Z |
Examples
Success response
JSON format
{
"RequestId": "01A13E8C-3773-1A76-BA95-96EA81D260DC",
"TenantId": "t-4b83e0da66674951",
"TenantName": "my-tenant",
"DBClusterId": "pagc-bp1abcdef1234567",
"CreateTime": "2026-10-15T08:00:00Z"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidTenantName.Duplicate | A tenant with the specified name already exists in this AgenticDB cluster. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.