createOrgMember
Add an existing user to the org as a member, in the groups that "group_ids" names. A member who joins the org in no group joins the org's default group, if the org has one; someone who is a member already joins only the groups named. A group that does not exist is refused with GroupNotFound. Takes inviteMembers on the org, and groups take manageGroups.
POST
/orgs/{org_id}/membersPath parameters
Request body JSON required
Returns
204
<No Content>
400
InvalidRequest | RequestBodyTooDeep
JSON
One of the following:
- InvalidRequestEncoded
- RequestBodyTooDeepEncoded
403
Forbidden | ForbiddenOrigin | RequiresPersonalSession | RunBranchRequired
JSON
One of the following:
- ForbiddenEncoded
- ForbiddenOriginEncoded
- RequiresPersonalSessionEncoded
- RunBranchRequiredEncoded
404
OrgNotFound | GroupNotFound | UserNotFound
JSON
One of the following:
- OrgNotFoundEncoded
- GroupNotFoundEncoded
- UserNotFoundEncoded
413
RequestBodyTooLarge
500
OrgFailure | ControlPlaneFailure | RepoFailure
JSON
One of the following:
- OrgFailureEncoded
- ControlPlaneFailureEncoded
- RepoFailureEncoded
503
SessionUnavailable | RateLimitUnavailable
JSON
One of the following:
- SessionUnavailableEncoded
- RateLimitUnavailableEncoded