跳转到内容
Try Gitea Cloud ☁️ for 30 days → Accelerate your Development & Deploys!

Search all emails

GET
/admin/emails/search
curl --request GET \
--url https://gitea.com/api/v1/admin/emails/search \
--header 'Authorization: Basic <credentials>'
q
string

Keyword

page
integer

Page number of results to return (1-based)

limit
integer

Page size of results

EmailList

Media typeapplication/json
Array<object>

Email an email address belonging to a user

object
email
string format: email
primary

Whether this is the primary email address

boolean
user_id

The unique identifier of the user who owns this email

integer format: int64
username

Username of the user

string
verified

Whether the email address has been verified

boolean
Examplegenerated
[
{
"email": "hello@example.com",
"primary": true,
"user_id": 1,
"username": "example",
"verified": true
}
]

APIForbiddenError is a forbidden error response

Media typeapplication/json
message
string
url
string