Commit a8ac604c authored by Mike Jang's avatar Mike Jang

Merge branch 'serenafang-master-patch-03309' into 'master'

Add projects to API call

See merge request gitlab-org/gitlab!53170
parents 4500c94e 31650e4d
......@@ -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 |
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment