Account

Accept a pending org invite (session only)

Changed on

Creates the membership for the invite addressed to the session's email in the given org, then consumes the invite. Returns the org id and the role granted. This is the only way an invite becomes a membership: the invitee must be authenticated with the invited email and act explicitly.

Requires the self.update permission. See Permissions for the roles and API key permissions that include it.

post/v1/me/invites/{orgId}/accept

Request

  • Base URL
    https://api.openrelay.inc
  • URL
    https://api.openrelay.inc/v1/me/invites/{orgId}/accept
  • Auth
    HTTP bearer

Path parameters

orgIdstring required

Response

Joined the organization

organizationIdstring required
rolestring required

Changes

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status