1######################
2Personal Access Tokens
3######################
4
5Get a list of personal access tokens
6
7References
8----------
9
10* v4 API:
11
12  + :class:`gitlab.v4.objects.PersonalAccessToken`
13  + :class:`gitlab.v4.objects.PersonalAcessTokenManager`
14  + :attr:`gitlab.Gitlab.personal_access_tokens`
15
16* GitLab API: https://docs.gitlab.com/ee/api/personal_access_tokens.html
17
18Examples
19--------
20
21List personal access tokens::
22
23    access_tokens = gl.personal_access_tokens.list()
24    print(access_tokens[0].name)
25
26List personal access tokens from other user_id (admin only)::
27
28    access_tokens = gl.personal_access_tokens.list(user_id=25)
29