Skip to content

Commit 7d19ae7

Browse files
authored
Update PATCH user/email/visibility docs to not require email.
1 parent 1392163 commit 7d19ae7

File tree

1 file changed

+1
-21
lines changed

1 file changed

+1
-21
lines changed

lib/rest/static/decorated/api.github.com.json

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -86662,16 +86662,6 @@
8666286662
"application/json": {
8666386663
"schema": {
8666486664
"properties": {
86665-
"email": {
86666-
"description": "<p>An email address associated with the GitHub user account to manage.</p>",
86667-
"type": "string",
86668-
"example": "org@example.com",
86669-
"name": "email",
86670-
"in": "body",
86671-
"rawType": "string",
86672-
"rawDescription": "An email address associated with the GitHub user account to manage.",
86673-
"childParamsGroups": []
86674-
},
8667586665
"visibility": {
8667686666
"description": "<p><strong>Required</strong>. Denotes whether an email is publically visible.</p>",
8667786667
"type": "string",
@@ -86709,16 +86699,6 @@
8670986699
"notes": [],
8671086700
"descriptionHTML": "<p>Sets the visibility for your primary email addresses.</p>",
8671186701
"bodyParameters": [
86712-
{
86713-
"description": "<p>An email address associated with the GitHub user account to manage.</p>",
86714-
"type": "string",
86715-
"example": "org@example.com",
86716-
"name": "email",
86717-
"in": "body",
86718-
"rawType": "string",
86719-
"rawDescription": "An email address associated with the GitHub user account to manage.",
86720-
"childParamsGroups": []
86721-
},
8672286702
{
8672386703
"description": "<p><strong>Required</strong>. Denotes whether an email is publically visible.</p>",
8672486704
"type": "string",
@@ -95005,4 +94985,4 @@
9500594985
"bodyParameters": [],
9500694986
"descriptionHTML": "<p>Get a random sentence from the Zen of GitHub</p>"
9500794987
}
95008-
]
94988+
]

0 commit comments

Comments
 (0)