Get Group List By Username
Call Instructions:
This interface queries all user related groups based on the user name
This interface is called only by system administrators
Interface Information | |||
---|---|---|---|
Name | Get Group List By Username | ||
Address | /rest/tools/1.0/api/group/getGroupFromUser | ||
Method | GET | ||
Return Type | Json | ||
Authentication | Basic,token | ||
Parameters | |||
Parameter name | Required | Parameter type | Description |
name | Y | String | Username |
return value format | |||
Field | Type | Description | |
code | int | ||
msg | String | ||
total | int | Total data | |
isMore | bool | true or false | |
data | String | [{ |
Example Postman call
Example return value
{
"code": 0,
"msg": "Success",
"data": [
{
"name": "confluence-users"
}
]
}