List access tokens
curl --request GET \
--url https://gogs.example.com/api/v1/users/{username}/tokens \
--header 'Authorization: Basic <encoded-value>'[
{
"name": "<string>",
"sha1": "<string>"
}
]Users
List access tokens
Requires basic authentication.
GET
/
users
/
{username}
/
tokens
List access tokens
curl --request GET \
--url https://gogs.example.com/api/v1/users/{username}/tokens \
--header 'Authorization: Basic <encoded-value>'[
{
"name": "<string>",
"sha1": "<string>"
}
]