mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-15 04:24:44 +00:00
update readmes
This commit is contained in:
@@ -4,30 +4,3 @@ Manage group memberships
|
||||
|
||||
The group service is a basic CRUD service for group membership management. Create groups, add members and lookup which groups a user is a member of.
|
||||
|
||||
Example usage:
|
||||
|
||||
```bash
|
||||
$ micro groups create --name=Micro
|
||||
{
|
||||
"group": {
|
||||
"id": "e35562c9-b6f6-459a-b52d-7e6159465fd6",
|
||||
"name": "Micro"
|
||||
}
|
||||
}
|
||||
$ micro groups addMember --group_id=e35562c9-b6f6-459a-b52d-7e6159465fd6 --member_id=Asim
|
||||
{}
|
||||
$ micro groups list --member_id=Asim
|
||||
{
|
||||
"groups": [
|
||||
{
|
||||
"id": "e35562c9-b6f6-459a-b52d-7e6159465fd6",
|
||||
"name": "Micro",
|
||||
"member_ids": [
|
||||
"Asim"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
$ micro groups list --member_id=Boris
|
||||
{}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user