ModifyLoginBaseConfig
Description
invoke basic configuration information ModifyLoginBaseConfig modifying login security settings in a single asset details page.
Request Method
POST
Request Path
/apsara/route/Sas/ModifyLoginBaseConfig
Request Parameters Common Parameters
| Name | Location | Type | Required | Sample value | Description |
|---|---|---|---|---|---|
| Target | BODY | string | Yes | i-ecs-ssssasss-xxxx | the uuid of the server that needs to modify the login configuration. |
| Type | BODY | string | Yes | login_common_time | set the common login configuration types that need to be modified. Value: login_common_ip: common login IP login_common_time: common login time login_common_account: common login account |
| regionId | BODY | string | Yes | No sample value for this parameter. | region id |
| Config | BODY | string | Yes | {"startTime":"00:00","endTime":"02:00"} | detailed configuration of login security settings on the asset details page. |
| version | BODY | string | No | 2016-01-01 | version of api |
Return data
| Name | Type | Sample value | Description |
|---|---|---|---|
| RequestId | string | 6BD40006-2A29-4769-8AB5-BC0F0E25C273 | the unique identifier generated by alibaba cloud for this request. |
Example
Successful Response example
{
"RequestId":"6BD40006-2A29-4769-8AB5-BC0F0E25C273"
}
Failed Response example
{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}
}