Users and teams
Get current user
Return the account that owns the access token, including its user ID.
GET
Get current user
The call identifies you from your access token, so it takes no parameters. Use the returned
id wherever a call asks for your user ID, and pass it in quotes.
Check the type field to find out whether your account is a Prophecy administrator for the whole instance. ClusterAdmin means it is. The add users to teams API uses this in isRequesterGlobalAdmin.Headers
Prophecy access token
Response
200 - application/json
User details
Email address of the user.
User ID. A string of digits; pass it in quotes wherever a call asks for it.
Account type. ClusterAdmin indicates a Prophecy administrator for the whole instance.
Time the account was created, in milliseconds since the Unix epoch.
State of the user account.
Invitation status of the account.

