1
0
mirror of synced 2026-01-04 18:06:26 -05:00
Files
docs/data/reusables/user-settings/user-api.md
2023-03-14 22:27:10 +00:00

2 lines
485 B
Markdown

If a request URL does not include a `{username}` parameter then the response will be for the signed-in user (and you must pass [authentication information](/rest/overview/authenticating-to-the-rest-api) 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{% ifversion ghes%} Basic Authentication or{% endif %} OAuth with the `user` scope.{% endif %}