Authorize a program for a user
POST
/user/{user_id}/dac_authorization
Authorize a program for a user (or update a program auth for a user)
Parameters
Path Parameters
user_id
required
string
Request Body
object
program_id
required
string
start_date
required
string
end_date
required
string
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
end_date
required
string