-
Notifications
You must be signed in to change notification settings - Fork 3
Service: User Group Member Role Addition
Eliza Margaretha Illig edited this page Oct 23, 2024
·
2 revisions
Add an admin role to a group member with the following set of privileges:
- READ_MEMBER
- WRITE_MEMBER
- DELETE_MEMBER
- SHARE_QUERY
- DELETE_QUERY
Only user-group admins and system admins are allowed to use this service.
Available in: full version
Method: POST
Service URL:
- root/group/@{group_name}/role/add/admin
Header Parameters
Name | Required | Description | Value |
---|---|---|---|
Authorization | yes | HTTP authentication with scheme: Bearer | OAuth2 access token |
Content-Type | yes | content type of the input data | application/x-www-form-urlencoded |
Path Parameters
Name | Required | Description | Type |
---|---|---|---|
group_name | yes | user-group name | String |
URL-encoded Form Parameters
Name | Required | Description | Type |
---|---|---|---|
member | yes | the username of a group member | String |
Request example with Basic authentication (for testing only)
curl -H 'Content-Type: application/x-www-form-urlencoded' -H 'Authorization: Basic ZG9yeTpwYXNzd29yZA==' -d 'member=nemo' http://localhost:8089/api/v1.0/group/@dory-group/role/add/admin
Response
Status Code | Description |
---|---|
200 | OK |
400 | When the group role exists |
404 | When the group name is missing or not found |
- 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