Skip to content

Latest commit

 

History

History
78 lines (62 loc) · 723 Bytes

Emails.md

File metadata and controls

78 lines (62 loc) · 723 Bytes

Emails

List email addresses for a user

GET /user/emails

Response

Status: 200 OK
[
  {
    "email": "fake@local",
    "verified": true,
    "primary": true
  }
]

Add email address(es)

POST /user/emails

Example

Response

Status: 201 Created
[
  {
    "email": "[email protected]",
    "verified": false,
    "primary": false
  },
  {
    "email": "[email protected]",
    "verified": false,
    "primary": false
  }
]

Delete email address(es)

DELETE /user/emails

Example

Response

Status: 204 No Content