Skip to content

Commit 094b17c

Browse files
author
Hubot
committed
Sync changes from upstream repository
1 parent 397d4b5 commit 094b17c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

content/v3/repos/invitations.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ application/vnd.github.swamp-thing-preview+json
1818

1919
{:toc}
2020

21-
<a id="invite" />
21+
<a id="invite" />
2222

23-
## Invite a user to a repository
23+
## Invite a user to a repository
2424

25-
Use the API endpoint for adding a collaborator [here](/v3/repos/collaborators).
25+
Use the API endpoint for adding a collaborator [here](/v3/repos/collaborators).
2626

2727
<a id="list" />
2828

@@ -81,7 +81,7 @@ When authenticating as a user, this endpoint will list all currently open reposi
8181

8282
## Accept a repository invitation
8383

84-
PATCH /repositories/:repo_id/invitations/:invitation_id
84+
PATCH /user/repository_invitations/:invitation_id
8585

8686
### Response
8787

@@ -91,7 +91,7 @@ When authenticating as a user, this endpoint will list all currently open reposi
9191

9292
## Decline a repository invitation
9393

94-
DELETE /repositories/:repo_id/invitations/:invitation_id
94+
DELETE /user/repository_invitations/:invitation_id
9595

9696
### Response
9797

0 commit comments

Comments
 (0)