AssignmentPrincipal
AssignmentPrincipal is the principal a grant applies to. Exactly one of its fields is set.
Properties
- The user, for a direct assignment.
- ↳
namestring requiredThe user’s display name. - ↳
githubLoginstring requiredThe user’s login name. - ↳
avatarUrlstring requiredThe URL of the user’s avatar image. - ↳
emailstring optionalThe user’s email address. It is only populated on selected endpoints and is omitted from most responses. Treat it as sensitive information. - The team, for access granted through a team.
- ↳
namestring requiredThe unique name of the team. - ↳
displayNamestring requiredThe display name of the team.