This command accepts an invitation to join an Organization.
A list of pending invitations for the authenticated user can retrieved with LIST INVITATIONS.
Arguments
invitation_id
Specifies the id of the invitation to accept.
Examples
Accept the first Organization invite
This example shows that when accepting an incoming invitation from another User's Organization, the current session joins that Organization and can access the objects that the User is granted with the appropriate privileges:
<no-organization># LIST MY INVITATIONS;+--------------------------------------+------------+------------------------------------------+|ID|OrgName|InvitedBy|+======================================+============+==========================================+|bd5b2db3-2f36-49a9-8192-ab6e76fa9290|demo2|emailff7192cf-524e-44f5-ae14-17b71ed40ba||||a@deltastream.io|+--------------------------------------+------------+------------------------------------------+<no-organization># ACCEPT INVITATION bd5b2db3-2f36-49a9-8192-ab6e76fa9290;+------------+--------------------------------------+------------+------------------------------------------+|Type|Name|Command|Summary|+============+======================================+============+==========================================+|invitation|bd5b2db3-2f36-49a9-8192-ab6e76fa9290|UPDATE|invitationtojoinorganization|||||"ecdc3aa3-6b61-49b4-93b6-d855795a1552"|||||wasaccepted|+------------+--------------------------------------+------------+------------------------------------------+<no-db>/<no-store># LIST ORGANIZATIONS;+--------------------------------------+------------+-------------+-------------+--------------+--------------------+-------------------------------+
| ID | Name | Is Current | Is Default | Description | Profile Image Uri | Created At |
+======================================+============+=============+=============+==============+====================+===============================+
| ecdc3aa3-6b61-49b4-93b6-d855795a1552 | demo2 | true | true | <null> | <null> | 2024-05-09 04:53:21 +0000 UTC |
+--------------------------------------+------------+-------------+-------------+--------------+--------------------+-------------------------------+