Request
Body Params application/json
{
"username": "string",
"changes": {
"username": "string",
"password": "string",
"belongs": [
"string"
],
"ignore_limits": true,
"disable_password_change": true,
"admin": true,
"redirect": "string",
"disabled": true,
"expire": "2019-08-24T14:15:22.123Z",
"days_to_live": 0
}
}
Request Code Samples
curl --location --request POST 'http://localhost/~/api/set_account' \
--header 'x-hfs-anti-csrf: 1' \
--header 'Content-Type: application/json' \
--data-raw '{
"username": "string",
"changes": {
"username": "string",
"password": "string",
"belongs": [
"string"
],
"ignore_limits": true,
"disable_password_change": true,
"admin": true,
"redirect": "string",
"disabled": true,
"expire": "2019-08-24T14:15:22.123Z",
"days_to_live": 0
}
}'
Modified at 2026-03-24 12:02:39