Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
31650e4d
Commit
31650e4d
authored
Feb 02, 2021
by
Serena Fang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add projects to API call
parent
fd7ffb17
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
doc/api/resource_access_tokens.md
doc/api/resource_access_tokens.md
+3
-3
No files found.
doc/api/resource_access_tokens.md
View file @
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 |
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment