-
Notifications
You must be signed in to change notification settings - Fork 3
Service: User Group Member Invitation
Eliza Margaretha edited this page Jan 15, 2020
·
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 notifications to join the group are sent to the users listed as members. Membership status PENDING is assigned to the invited users.
Available in: full version
Method: POST
Service URL: root/group/@{group-name}/invite
Header Parameters
| Name | Required | Description | Value |
|---|---|---|---|
| Authorization | yes | HTTP authentication with scheme: Bearer, Api | OAuth2 access token or user authentication token |
| Content-Type | yes | content type of the input data | x-www-form-urlencoded |
Path Parameters
| Name | Required | Description | Type |
|---|---|---|---|
| group-name | yes | user group name | String |
URL Encoded parameter
| Name | Required | Description | Type |
|---|---|---|---|
| members | yes | a list usernames to be invited as group members separated by commas | String |
Request with cURL
curl -H 'Content-Type: application/x-www-form-urlencoded'
-H 'Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE1MTM1MzI3O
TAxMzQsInN1YiI6InVzZXJuYW1lIiwiaXNzIjoiaHR0cDpcL1wva29yYXAuaWRzLW1
hbm5oZWltLmRlIn0.p4jHIGeVwTpYAPFiWAd0R8Zcazyg7e9_tUGxOyFGUlo'
-d 'members=pearl,tad'
http://localhost:8089/api/v1.0/group/@marlin-group/invite
Request with Basic authentication (for testing only)
curl -H 'Content-Type: application/x-www-form-urlencoded'
-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ='
-d 'members=pearl,tad'
http://localhost:8089/api/v1.0/group/@marlin-group/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