access_tokens
List all token associations
Lists all groups and projects accessible by the personal access token used to authenticate the request. Generally, this includes any groups or projects that the user is a member of.
get/api/v4/personal_access_tokens/self/associations
Request
- Base URLhttps://gitlab.com
- Authnone declared
Query parameters
min_access_level10 | 15 | 20 | 25 | 30 | 40 | 50
Limit by minimum access level of authenticated user
pageinteger
Current page number
per_pageinteger
Number of items per page
Response
List all token associations
Example response
{
"id": 2,
"name": "John Doe",
"description": "Token to manage api",
"scopes": [
"api"
],
"user_id": 3,
"last_used_at": "2020-08-31T15:53:00.073Z",
"last_used_ips": [
"127.0.0.1",
"127.0.0.2",
"127.0.0.3"
],
"granular_scopes": [
{
"access": "personal_projects",
"permissions": [
"read_job"
],
"project_id": 3,
"group_id": 5
}
],
"expires_at": "2020-08-31T15:53:00.073Z"
}Changes
No recorded changes to this operation across all 5 revisions of this API.