Skip to content

Add an email addresses to the current user's account

POST
/user/emails

CreateEmailOption options when creating email addresses

object
emails

Email addresses to add

Array<string>
Example generated
{
"emails": [
"example"
]
}

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
}
]

APIUnauthorizedError is a unauthorized error response

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

APIForbiddenError is a forbidden error response

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

APIValidationError is error format response related to input validation

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