get https://api.stackhawk.com/api/v1/user
StackHawk Current User
This endpoint provides details about the requesting user. This information helps determine what access an authorized user has on the StackHawk platform, and how they are authenticated.
The StackHawk user is seperated into two sections. provider
specifies how the user authenticates. external
specifies details of the user, and the access they have to the StackHawk Platform.
Some notable external
user fields include:
fullName
the user's display nameapplicationIds
an array of StackHawk Application identifiers the user has access toorganizations
an array of StackHawk Organization structures, and therole
access the user has relative to the organizationpreferences
user controlled preferences, that can be adjusted from the account settings page in the StackHawk platform.