Modifies the login settings for holoweb.
Operation description
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.
Try it now
Test
RAM authorization
Request syntax
POST /api/v1/instances/{instanceId}/updateHoloWebLoginSetting HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| instanceId |
string |
No |
The instance ID. |
hgprecn-cn-i7m2ucxxxx |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
The region ID. |
cn-hangzhou |
| body |
object |
No |
The request body. |
|
| allowExternalAccountsLogin |
boolean |
No |
Set to |
true |
Response elements
|
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 |
Examples
Success response
JSON format
{
"RequestId": "CB13FFDD-2DF8-5396-A848-2D6A31245B6D",
"Data": true,
"Success": true,
"ErrorCode": "null",
"ErrorMessage": "Internal server error.",
"HttpStatusCode": "200"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.