Skip to main content

userOrgInvitation

Invite a user to the organization using the AtomGit user's ID or email address. The current user initiating the operation must be the organization owner.

Path Parameters
  • org string required

    organization namespace

Header Parameters
  • Authorization required

    Oauth2 token or private token (needs to start with Bearer plus a space)

Request Body
  • invitee_id string

    Required unless you provide an email. The AtomGit user ID of the person you invited.

  • email string

    Required unless you provide an email. The AtomGit user ID of the person you invited.

  • role string

    new member's role:maintainer、developer、guest。

Responses

Success


Schema
  • login string

    Invitee username

  • id string

    Invitee user id

  • role string

    Invitee user role

  • email string

    Email address of the invitee

  • created_at string

    operation time

  • inviter object

    Inviter information

  • login string

    Inviter username

  • id string

    Inviter user ID

  • avatar_url string

    Inviter user avatar

  • url string

    Inviter information api address

  • html_url string

    Inviter’s homepage address

  • followers_url string

    the inviter’s followers url

  • following_url string

    following url of the inviter

  • gists_url string

    gists url of the inviter

  • starred_url string

    the inviter's starred url

  • subscriptions_url string

    Inviter’s subscriptions url

  • organizations_url string

    The organizations url of the inviter

  • repos_url string

    The repos url of the inviter

  • events_url string

    event url of the inviter

  • received_events_url string

    the inviter’s received events url

  • type string

    user type of the inviter

  • site_admin string

    Whether the inviter is an administrator

Loading...