Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
31c02c00
Commit
31c02c00
authored
Jan 07, 2021
by
Serena Fang
Committed by
Mike Jang
Jan 07, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add docs for update and remove group member
Add webhook output for update or remove group member
parent
1cf69f5d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
64 additions
and
1 deletion
+64
-1
doc/user/project/integrations/webhooks.md
doc/user/project/integrations/webhooks.md
+64
-1
No files found.
doc/user/project/integrations/webhooks.md
View file @
31c02c00
...
...
@@ -1366,7 +1366,14 @@ Note that `deployable_id` is the ID of the CI job.
> [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/260347) in GitLab 13.7.
Triggered when a user is added as a group member.
Member events are triggered when:
-
A user is added as a group member
-
The access level of a user has changed
-
The expiration date for user access has been updated
-
A user has been removed from the group
#### Add member to group
**Request Header**
:
...
...
@@ -1394,6 +1401,62 @@ X-Gitlab-Event: Member Hook
}
```
#### Update member access level or expiration date
**Request Header**
:
```
plaintext
X-Gitlab-Event: Member Hook
```
**Request Body**
:
```
json
{
"created_at"
:
"2020-12-11T04:57:22Z"
,
"updated_at"
:
"2020-12-12T08:48:19Z"
,
"group_name"
:
"webhook-test"
,
"group_path"
:
"webhook-test"
,
"group_id"
:
100
,
"user_username"
:
"test_user"
,
"user_name"
:
"Test User"
,
"user_email"
:
"testuser@webhooktest.com"
,
"user_id"
:
64
,
"group_access"
:
"Developer"
,
"group_plan"
:
null
,
"expires_at"
:
"2020-12-20T00:00:00Z"
,
"event_name"
:
"user_update_for_group"
}
```
#### Remove member from group
**Request Header**
:
```
plaintext
X-Gitlab-Event: Member Hook
```
**Request Body**
:
```
json
{
"created_at"
:
"2020-12-11T04:57:22Z"
,
"updated_at"
:
"2020-12-12T08:52:34Z"
,
"group_name"
:
"webhook-test"
,
"group_path"
:
"webhook-test"
,
"group_id"
:
100
,
"user_username"
:
"test_user"
,
"user_name"
:
"Test User"
,
"user_email"
:
"testuser@webhooktest.com"
,
"user_id"
:
64
,
"group_access"
:
"Guest"
,
"group_plan"
:
null
,
"expires_at"
:
"2020-12-14T00:00:00Z"
,
"event_name"
:
"user_remove_from_group"
}
```
### Feature Flag events
Triggered when a feature flag is turned on or off.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment