Skip to content

Commit 26df42f

Browse files
Add API option to invite members
1 parent 9623874 commit 26df42f

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

content/manuals/admin/organization/members.md

+6
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,9 @@ To resend an invitation from Docker Hub:
6969
**Resend invitation**.
7070
4. Select **Invite** to confirm.
7171

72+
You can also resend an invitation using the Docker Hub API. For more information,
73+
see the [Resend an invite](https://docs.docker.com/reference/api/hub/latest/#tag/invites/paths/~1v2~1invites~1%7Bid%7D~1resend/patch) API endpoint.
74+
7275
{{< /tab >}}
7376
{{< tab name="Admin Console" >}}
7477

@@ -94,6 +97,9 @@ To remove a member's invitation from Docker Hub:
9497
3. In the table, select the **Action** icon, and then select **Remove member** or **Remove invitee**.
9598
4. Follow the on-screen instructions to remove the member or invitee.
9699

100+
You can also remove an invitation using the Docker Hub API. For more information,
101+
see the [Cancel an invite](https://docs.docker.com/reference/api/hub/latest/#tag/invites/paths/~1v2~1invites~1%7Bid%7D/delete) API endpoint.
102+
97103
{{< /tab >}}
98104
{{< tab name="Admin Console" >}}
99105

layouts/shortcodes/admin-users.html

+6-1
Original file line numberDiff line numberDiff line change
@@ -123,4 +123,9 @@
123123
> for details about the access permissions for each role.
124124

125125
Pending invitations appear in the table. The invitees receive an email with a link to Docker Hub where they can accept
126-
or decline the invitation.
126+
or decline the invitation.
127+
128+
### Invite members via API
129+
130+
You can bulk invite members using the Docker Hub API. For more information, see
131+
the [Bulk create invites](https://docs.docker.com/reference/api/hub/latest/#tag/invites/paths/~1v2~1invites~1bulk/post) API endpoint.

0 commit comments

Comments
 (0)