Skip to content

Commit 8d4b659

Browse files
admin: add API option to manage members (#22223)
## Description - Kapa searches show that users are looking for API options to manage user invites - This adds the option to invite users and manage them via Docker Hub API, with a redirect to the API reference - This also just surfaces the API as an option for enterprise users, who might be more interested in managing bulk actions via the DH API ## Related issues or tickets - [ENGDOCS-2460](https://docker.atlassian.net/browse/ENGDOCS-2460) ## Reviews - [ ] Editorial review [ENGDOCS-2460]: https://docker.atlassian.net/browse/ENGDOCS-2460?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
1 parent 9623874 commit 8d4b659

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

content/manuals/admin/organization/members.md

Lines changed: 6 additions & 0 deletions
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

Lines changed: 6 additions & 1 deletion
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)