Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
cURL
curl --request POST \ --url https://gogs.example.com/api/v1/user/emails \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data ' { "emails": [ "jsmith@example.com" ] } '
[ { "email": "jsmith@example.com", "verified": true, "primary": true } ]
Personal access token. Use format: token {YOUR_ACCESS_TOKEN}
Success