-
Notifications
You must be signed in to change notification settings - Fork 3
Service: User Group Member Invitation
Eliza Margaretha edited this page Jun 4, 2018
·
19 revisions
Invites users as members of a user-group. Only user-group admins and system admins are allowed. If mailing is enabled (see mail setting), email invitations to join the group are sent to the users listed as members. Membership status PENDING is assigned to these users.
Available in: full version
Method: POST
Service URL: root/group/member/invite
Header Parameters
| Name | Required | Description | Value |
|---|---|---|---|
| Authorization | yes | authentication scheme: Bearer, Api | authentication token |
| Content-Type | yes | content type of the input data | application/json |
Request body
A JSON object with the following attributes:
| Name | Required | Description | Type |
|---|---|---|---|
| id | yes | user group id | Integer |
| members | yes | a list usernames to be invited as group members | String[] |
Request example with cURL:
curl -H "Content-Type: application/json"
-H 'Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE1MTM1MzI3O
TAxMzQsInN1YiI6InVzZXJuYW1lIiwiaXNzIjoiaHR0cDpcL1wva29yYXAuaWRzLW1
hbm5oZWltLmRlIn0.p4jHIGeVwTpYAPFiWAd0R8Zcazyg7e9_tUGxOyFGUlo'
-d '{"id": 5,"members": ["pearl, tad"]}'
http://localhost:8089/api/group/member/invite
Request example with Basic authentication (for testing only):
curl -H "Content-Type: application/json"
-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ='
-d '{"id": 5,"members": ["pearl, tad"]}'
http://localhost:8089/api/group/member/invite
- Setting LDAP
- Setting initial super client
- Setting a custom environment
- Setting resources for CLARIN FCS
- Disabling query rewrites
- Named virtual corpora
- Importing Kustvakt to Eclipse
- Installing Lombok
- Setting annotation processors
- Setting a test environment
- HTTP Basic Authentication
- OAuth2 authorization scopes
- OAuth2 authorization request
- OAuth2 token request
- OAuth2 token revocation
- OAuth2 client registration
- OAuth2 client info
- OAuth2 client deregistration
- OAuth2 client secret reset
- Plugin registration
- Plugin list (marketplace)
- Plugin installation
- Plugin uninstallation
- Installed plugin list
- VC creation and update
- VC deletion
- VC list
- VC info
- VC KoralQuery
- VC statistics
- VC statistics with KoralQuery