Get the self-edit settings
GET /account/selfedit-gates
Returns, for each of the five lockable profile fields, whether
people may change it on their own profile: true means they can.
The same settings apply to every account.
You need to be signed in; no capability is needed. Without a session cookie or bearer token that identifies you, the answer is 401, whether or not public mode is on.
A field with no stored setting counts as editable, and so does one
whose stored value isn’t a boolean, but a stored null counts as
locked. If the settings can’t be read at all, every field is
reported editable; if reading fails partway, some fields can be
reported editable whatever their stored setting, and that answer can
be cached. The answer is 200 either way. The values are cached on
each server with no expiry, so a server can serve older values (see
updateAdminUserGates). The settings cover only these five fields,
and they don’t apply to edits of someone else’s profile.
Authorizations
Section titled “Authorizations ”Responses
Section titled “ Responses ”Which of the five fields people may edit themselves.
Whether each of the five lockable profile fields can be changed by
its owner; true means it can.
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"}