summaryrefslogtreecommitdiff
path: root/doc/api/audit_events.md
diff options
context:
space:
mode:
Diffstat (limited to 'doc/api/audit_events.md')
-rw-r--r--doc/api/audit_events.md6
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/api/audit_events.md b/doc/api/audit_events.md
index cba7da4ac1b..944d99d8eab 100644
--- a/doc/api/audit_events.md
+++ b/doc/api/audit_events.md
@@ -91,6 +91,10 @@ Example response:
GET /audit_events/:id
```
+| Attribute | Type | Required | Description |
+| --------- | ---- | -------- | ----------- |
+| `id` | integer | yes | The ID of the audit event |
+
```shell
curl --header "PRIVATE-TOKEN: <your_access_token>" https://primary.example.com/api/v4/audit_events/1
```
@@ -195,7 +199,7 @@ GET /groups/:id/audit_events/:audit_event_id
| Attribute | Type | Required | Description |
| --------- | ---- | -------- | ----------- |
| `id` | integer/string | yes | The ID or [URL-encoded path of the group](README.md#namespaced-path-encoding) |
-| `audit_event_id` | integer | yes | ID of the audit event |
+| `audit_event_id` | integer | yes | The ID of the audit event |
```shell
curl --header "PRIVATE-TOKEN: <your_access_token>" https://primary.example.com/api/v4/groups/60/audit_events/2