Add an email address for the authenticated user
POST {{baseUrl}}/user/emails
This endpoint is accessible with the user
scope.
Request Body
{"emails"=>["<string>", "<string>"]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: Created
[{"email":"octocat@octocat.org","primary":false,"verified":false,"visibility":"public"},{"email":"octocat@github.com","primary":false,"verified":false,"visibility":null},{"email":"mona@github.com","primary":false,"verified":false,"visibility":null}]