{
"active": true,
"remarks": "string",
"displayName": "string",
"password": "string",
"secretKey": "string",
"accessKey": "string",
"account": "string",
"mainAccountId": "string",
"appId": "string",
"userPoolId": "string",
"appConfig": {}
}
curl --location --request PATCH 'https://core.authing.cn/api/v2/sub-account/61de53a7887185045fa82b6e' \
--header 'Authorization: Bearer eyJsdfsdf' \
--header 'x-authing-userpool-id: 61b95d6c96d42670da568408' \
--header 'Content-Type: application/json' \
--data-raw '{
"active": true,
"remarks": "string",
"displayName": "string",
"password": "string",
"secretKey": "string",
"accessKey": "string",
"account": "string",
"mainAccountId": "string",
"appId": "string",
"userPoolId": "string",
"appConfig": {}
}'
{
"code": 200,
"message": "修改子账号成功",
"data": {
"id": "61dfbfa2cba8cf41a942691f",
"createdAt": "2022-01-13T05:58:58.575Z",
"updatedAt": "2022-01-13T06:05:42.356Z",
"userPoolId": "61b95d6c96d42670da568408",
"appId": "61df925846bed781f5757166",
"mainAccountId": "61de53a7887185045fa82b6e",
"account": "subaccount",
"password": "subaccount_password",
"displayName": "我的子账号",
"remarks": "sdfsdfsdfsdfsdf",
"active": true
}
}