diff options
Diffstat (limited to 'doc/api/audit_events.md')
-rw-r--r-- | doc/api/audit_events.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/api/audit_events.md b/doc/api/audit_events.md index a06a300e149..5af2bdc1d29 100644 --- a/doc/api/audit_events.md +++ b/doc/api/audit_events.md @@ -24,7 +24,7 @@ are paginated. Read more on [pagination](README.md#pagination). -```bash +```shell curl --header "PRIVATE-TOKEN: <your_access_token>" https://primary.example.com/api/v4/audit_events ``` @@ -91,7 +91,7 @@ Example response: GET /audit_events/:id ``` -```bash +```shell curl --header "PRIVATE-TOKEN: <your_access_token>" https://primary.example.com/api/v4/audit_events/1 ``` @@ -141,7 +141,7 @@ are paginated. Read more on [pagination](README.md#pagination). -```bash +```shell curl --header "PRIVATE-TOKEN: <your_access_token>" https://primary.example.com/api/v4/groups/60/audit_events ``` @@ -197,7 +197,7 @@ GET /groups/:id/audit_events/:audit_event_id | `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 | -```bash +```shell curl --header "PRIVATE-TOKEN: <your_access_token>" https://primary.example.com/api/v4/groups/60/audit_events/2 ``` |