Skip to content

Per-field self-edit gates

GET
/account/selfedit-gates

Returns the operator-set flags for the five gateable profile fields. Used by /account/profile on page mount to disable inputs the operator has locked.

Missing system_config rows default to true (editable) — fail-open preserves current behavior across partial migrations.

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
display_name
required
boolean
bio
required
boolean
avatar_url
required
boolean
location
required
boolean
website_url
required
boolean

Authentication required, missing, or invalid

object
error
required

Human-readable error summary

string
Example
the request could not be completed
Example
{
"error": "authentication required: sign in and retry with a valid session or API token"
}