Commit 31650e4d authored by Serena Fang's avatar Serena Fang

Add projects to API call

parent fd7ffb17
......@@ -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