Authorization: Bearer ********************{
"type": "preset",
"platform_id": "string",
"name": "string",
"username": "string",
"password": "string",
"twofa_key": "string",
"remark": "string"
}curl --location 'http://local.zhongyibrowser.com:39025/api/v1/accounts' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"type": "preset",
"platform_id": "string",
"name": "string",
"username": "string",
"password": "string",
"twofa_key": "string",
"remark": "string"
}'{
"code": 0,
"message": "success",
"data": {
"id": "account_01JABCDEF1234567890",
"type": "preset",
"name": "string",
"username": "string",
"password": "string",
"twofa_key": "string",
"remark": "string",
"owner": "string",
"editable": true,
"platform": {
"id": "string",
"website": "string",
"icon_url": "string",
"platform_code": "string",
"platform_name": "string",
"category_code": "string",
"category_name": "string",
"region_code": "string",
"region_name": "string"
},
"browser_count": 0,
"created_at": "2019-08-24T14:15:22.123Z",
"updated_at": "2019-08-24T14:15:22.123Z",
"browser_ids": [
"env_01JABCDEF1234567890"
]
}
}