Add users to Organization
POST https://{{base_url}}/v3/organizations/{{organization_uid}}/share
The Add users to organization request allows you to send invitations to add users to your organization. Only the owner or the admin of the organization can add users.
To use the API Request, you will need to authenticate yourself either with a Management Token (highly recommended) or an Authtoken.Â
Read more about it in Authentication.
For more information, refer to the Add users to Organization API Reference document
Request Body
{"share"=>{"users"=>{"abc@sample.com"=>["{{orgAdminRoleUid}}"], "xyz@sample.com"=>["{{orgMemberRoleUid}}"]}, "stacks"=>{"abc@sample.com"=>{"{{apiKey}}"=>["{{stackRoleUid1}}"]}, "xyz@sample.com"=>{"blta1ed1f11111c1eb1"=>["blt111d1b110111e1f1"], "bltf0c00caa0f0000f0"=>["bltcea22222d2222222", "blt333f33cb3e33ffde"]}}, "message"=>"Invitation message"}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
authtoken | string | Enter the authtoken of the user. | |
Content-Type | string |