Skip to content

Service: User Group Member Role Addition

Eliza Margaretha Illig edited this page Oct 23, 2024 · 2 revisions

** WARNING: This service is experimental and may change without any notice.

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

Parameters

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

Examples

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

Advanced Setting

Developer Setting

Search services

Metadata services

Authentication and Authorization services

Client services

Super client services

Plugin services

User services

User group services

Virtual corpus (VC) services

VC sharing services

Administrative services

Description services

Clone this wiki locally