Membuat kunci API layanan pembuatan model.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardb:CreateAIDBClusterApiKey |
create |
*Semua sumber daya.
|
None | None |
Sintaks permintaan
POST HTTP/1.1
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
ID wilayah. Catatan
|
cn-beijing |
| Description |
string |
No |
Deskripsi. |
test |
| ModelSpaceName |
string |
No |
ID ruang model. |
pms-xxx |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Skema tanggapan. |
||
| RequestId |
string |
ID permintaan. |
2281C6C9-CBAB-1AFD-8400-670750CF6025_2212 |
| ApiKey |
object |
Kunci API. |
|
| ApiKey |
string |
Kunci API untuk penyajian model. |
xxx |
| Description |
string |
Deskripsi. |
test |
| Status |
string |
Status kunci API. |
active |
| CreateTime |
string |
Waktu saat kunci API dibuat. Waktu dalam format ISO 8601 UTC (format: YYYY-MM-DDTHH:mm:ssZ). |
2026-06-12T03:41:53Z |
| Id |
string |
id |
393 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "2281C6C9-CBAB-1AFD-8400-670750CF6025_2212",
"ApiKey": {
"ApiKey": "xxx.",
"Description": "test.",
"Status": "active.",
"CreateTime": "2026-06-12T03:41:53Z",
"Id": "393"
}
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.