Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-02-04 00:09:17 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2021-02-04 00:09:17 +0300
commita1ed241c8212fe848501de9d561796ed6879307f (patch)
treef4cd88555f3e9be61e498761c7a289260135c806 /doc/api/resource_access_tokens.md
parent174343966742d2f4b87ac84f9ce4ee576cb9d75e (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/api/resource_access_tokens.md')
-rw-r--r--doc/api/resource_access_tokens.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/api/resource_access_tokens.md b/doc/api/resource_access_tokens.md
index 44dfc243750..189f335fa21 100644
--- a/doc/api/resource_access_tokens.md
+++ b/doc/api/resource_access_tokens.md
@@ -15,7 +15,7 @@ You can read more about [project access tokens](../user/project/settings/project
Get a list of project access tokens.
```plaintext
-GET /:id/access_tokens
+GET projects/:id/access_tokens
```
| Attribute | Type | required | Description |
@@ -50,7 +50,7 @@ curl --header "PRIVATE-TOKEN: <your_access_token>" "https://gitlab.example.com/a
Create a project access token.
```plaintext
-POST /:id/access_tokens
+POST projects/:id/access_tokens
```
| Attribute | Type | required | Description |
@@ -89,7 +89,7 @@ curl --request POST --header "PRIVATE-TOKEN: <your_access_token>" \
Revoke a project access token.
```plaintext
-DELETE /:id/access_tokens/:token_id
+DELETE projects/:id/access_tokens/:token_id
```
| Attribute | Type | required | Description |