curl --request DELETE \
--url https://gogs.example.com/api/v1/user/emails \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"emails": [
"[email protected]"
]
}
'curl --request DELETE \
--url https://gogs.example.com/api/v1/user/emails \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"emails": [
"[email protected]"
]
}
'