Delete the access token
curl --request DELETE \
--url https://gogs.example.com/api/v1/user/token \
--header 'Authorization: <api-key>'Users
Delete the access token
Deletes the access token that authenticates the request, which stops working right away. Requires an access token, so a tool that only holds the token can revoke it when it is done, without the password.
DELETE
/
user
/
token
Delete the access token
curl --request DELETE \
--url https://gogs.example.com/api/v1/user/token \
--header 'Authorization: <api-key>'