Skip to content

List authorization information about a user

GET
/user/{user_id}

List authorization information about a user

Parameters

Path Parameters

user_id
required
string

The user ID to check. If β€œme”, return information about the requesting user

Responses

200

Success

Describes an authorized user and the programs the user is authorized to view

object
userinfo

Describes an authenticated user

object
sample_jwt

A sample jwt for this user from their IDP

string
user_name
required

Unique id of user, from CANDIG_USER_KEY field

string
site_roles
Array<string>
program_authorizations
object
team_member

List of programs that the user is a team member of

Array<string>
program_curator

List of programs that the user is a curator of

Array<string>
dac_authorizations

List of programs that this user is authorized to view

Array<object>
object
program_id
required
string
start_date
required
string
/^\d{4}-\d{2}-\d{2}$/
end_date
required
string
/^\d{4}-\d{2}-\d{2}$/

403

User not found