PUT /team/{id}/member/{principalId}
Add a member to the Team. If the one making the request is the user to be added, then the user must have an open invitation from the Team. If the one making the request is an administrator on the Team, then there must be a pending request from the user to the Team, asking to be added. If both teamEndpoint and notificationUnsubscribeEndpoint are provided, notification email(s) will be sent to the appropriate parties.
Resource URL
https://repo-prod.prod.sagebase.org/repo/v1/team/{id}/member/{principalId}
Resource URL Variables
{id} | the ID of the Team to which the user is to be added. |
{principalId} | the ID of the user to be added to the Team. |
Parameters
teamEndpoint optional |
the portal prefix for the Team URL. The team ID is appended to create the complete URL. |
notificationUnsubscribeEndpoint optional |
the portal prefix for one-click email unsubscription.
A signed, serialized token is appended to create the complete URL:
|
Resource Information | |
---|---|
Authentication | Required |
Required OAuth Scopes | modify |
HTTP Method | PUT |
Request Object | None |
Response Object | None |