1
0
mirror of synced 2026-01-07 09:01:31 -05:00
Files
docs/data/reusables/rest-reference/users/users.md
2022-02-28 18:30:54 +00:00

1 line
576 B
Markdown

Many of the resources on the users API provide a shortcut for getting information about the currently authenticated user. If a request URL does not include a `{username}` parameter then the response will be for the logged in user (and you must pass [authentication information](/rest/overview/resources-in-the-rest-api#authentication) with your request).{% ifversion fpt or ghes or ghec %} Additional private information, such as whether a user has two-factor authentication enabled, is included when authenticated through basic auth or OAuth with the `user` scope.{% endif %}