Mengubah pengaturan login untuk HoloWeb.
Deskripsi operasi
Creating a model service requires multiple parameters. To find the parameters for a Model Studio model, call the ListModelCatalog operation. For a Hologres AI node, call the GetAvailableModelsResource operation.
Coba sekarang
Test
RAM authorization
Sintaks permintaan
POST /api/v1/instances/{instanceId}/updateHoloWebLoginSetting HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| instanceId |
string |
No |
ID Instans. |
hgprecn-cn-i7m2ucxxxx |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
ID Wilayah. |
cn-hangzhou |
| body |
object |
No |
Badan permintaan. |
|
| allowExternalAccountsLogin |
boolean |
No |
Specifies whether to allow logins from external accounts. Set to |
true |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The response object. |
||
| RequestId |
string |
The request ID. |
CB13FFDD-2DF8-5396-A848-2D6A31245B6D |
| Data |
boolean |
The result of the operation. |
true |
| Success |
boolean |
Indicates whether the request was successful. Valid values: |
true |
| ErrorCode |
string |
The error code. |
null |
| ErrorMessage |
string |
The error message. |
Internal server error. |
| HttpStatusCode |
string |
The HTTP status code. |
200 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "CB13FFDD-2DF8-5396-A848-2D6A31245B6D",
"Data": true,
"Success": true,
"ErrorCode": "null",
"ErrorMessage": "Internal server error.",
"HttpStatusCode": "200"
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.