com.atproto.server.updateEmail
POST/xrpc/com.atproto.server.updateEmail
This endpoint is part of the atproto PDS server and account management APIs. Requests often require authentication and are made directly to the user's own PDS instance.
To learn more about calling atproto API endpoints like this one, see the API Hosts and Auth guide.
Update an account's email.
Request
- application/json
Body
required
email stringrequired
emailAuthFactor boolean
token string
Requires a token from com.atproto.sever.requestEmailUpdate if the account's email has been confirmed.
Responses
- 200
- 400
- 401
OK
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
error stringrequired
Possible values: [InvalidRequest
, ExpiredToken
, InvalidToken
, ExpiredToken
, InvalidToken
, TokenRequired
]
message stringrequired
{
"error": "InvalidRequest",
"message": "string"
}
Unauthorized
- application/json
- Schema
- Example (from schema)
Schema
error required
message stringrequired
{
"message": "string"
}
Loading...