Skip to content

List all email addresses for a user

GET
/admin/users/{username}/emails
username
required
string

Username of user to get email addresses of

EmailList

Media type application/json
Array<object>

Email an email address belonging to a user

object
email
string format: email
primary
boolean
user_id
integer format: int64
username
string
verified
boolean
Example generated
[
{
"email": "hello@example.com",
"primary": true,
"user_id": 1,
"username": "example",
"verified": true
}
]

APIForbiddenError is a forbidden error response

Media type application/json
object
message
string
url
string
Example generated
{
"message": "example",
"url": "example"
}

APINotFound is a not found error response

Media type application/json
object
errors
Array<string>
message
string
url
string
Example generated
{
"errors": [
"example"
],
"message": "example",
"url": "example"
}