diff options
author | Achilleas Pipinellis <axil@gitlab.com> | 2018-12-27 10:03:08 +0100 |
---|---|---|
committer | Achilleas Pipinellis <axil@gitlab.com> | 2019-01-04 13:19:27 +0100 |
commit | 0e078d1a8acb4d40ebdc7e1570df6be42cd97e1f (patch) | |
tree | a7993ad76d1767ec78ec3b8eaf47b5f9bfc843a3 /doc/api/system_hooks.md | |
parent | 833276cd2a12eafef555f131dbcf0f64fa687d09 (diff) | |
download | gitlab-ce-0e078d1a8acb4d40ebdc7e1570df6be42cd97e1f.tar.gz |
Replace look-alike token with '<your_access_token>'docs/fake-token-no-more
Replace all '9koXpg98eAheJpvBs5tK' occurrences with
'<your_access_token>' in API docs.
Diffstat (limited to 'doc/api/system_hooks.md')
-rw-r--r-- | doc/api/system_hooks.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/api/system_hooks.md b/doc/api/system_hooks.md index 7b8db6cfa8f..f8563e819db 100644 --- a/doc/api/system_hooks.md +++ b/doc/api/system_hooks.md @@ -20,7 +20,7 @@ GET /hooks Example request: ```bash -curl --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" https://gitlab.example.com/api/v4/hooks +curl --header "PRIVATE-TOKEN: <your_access_token>" https://gitlab.example.com/api/v4/hooks ``` Example response: @@ -63,7 +63,7 @@ POST /hooks Example request: ```bash -curl --request POST --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" "https://gitlab.example.com/api/v4/hooks?url=https://gitlab.example.com/hook" +curl --request POST --header "PRIVATE-TOKEN: <your_access_token>" "https://gitlab.example.com/api/v4/hooks?url=https://gitlab.example.com/hook" ``` Example response: @@ -96,7 +96,7 @@ GET /hooks/:id Example request: ```bash -curl --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" https://gitlab.example.com/api/v4/hooks/2 +curl --header "PRIVATE-TOKEN: <your_access_token>" https://gitlab.example.com/api/v4/hooks/2 ``` Example response: @@ -129,5 +129,5 @@ DELETE /hooks/:id Example request: ```bash -curl --request DELETE --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" https://gitlab.example.com/api/v4/hooks/2 +curl --request DELETE --header "PRIVATE-TOKEN: <your_access_token>" https://gitlab.example.com/api/v4/hooks/2 ```
\ No newline at end of file |