Update the per-field self-edit gates (admin)
PATCH /admin/system/users
Operator writes the five boolean flags. The handler upserts
each users.allow_self_edit.* system_config row and invokes
users.Handler.InvalidateSelfEditGates so every instance’s
cache picks up the new values on the next read. Requires
system.config.write OR system.admin.
Authorizations
Section titled “Authorizations ”Request Body required
Section titled “Request Body required ”Per-field self-edit gates. Each flag
controls whether users may edit that field on their own
profile. Operators set these via PATCH /admin/system/users;
users read them via GET /account/selfedit-gates to render
disabled inputs. Missing system_config rows default to
true (fail-open).
object
Responses
Section titled “ Responses ”Updated gate snapshot.
Per-field self-edit gates. Each flag
controls whether users may edit that field on their own
profile. Operators set these via PATCH /admin/system/users;
users read them via GET /account/selfedit-gates to render
disabled inputs. Missing system_config rows default to
true (fail-open).
object
Authentication required, missing, or invalid
object
Human-readable error summary
Example
the request could not be completedExample
{ "error": "authentication required: sign in and retry with a valid session or API token"}Authenticated but missing required capabilities
object
Human-readable error summary
Example
the request could not be completed