diff --git a/doc/user/group/index.md b/doc/user/group/index.md index 5a25aada285779802ada2f46a97a1aad946defcd..40658d73e3403f5c6960f4fd5afd6ae41cf32a35 100644 --- a/doc/user/group/index.md +++ b/doc/user/group/index.md @@ -117,6 +117,22 @@ To view the activity of a group: - **Designs**: Designs added, updated, and removed in the group's projects. - **Team**: Group members who joined and left the group's projects. +### Access a group by using the group ID + +> - [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/165889) in GitLab 17.5. + +You can access a group by using its ID instead of its name at `https://gitlab.example.com/-/g/<id>`. +For example, if your group `example-group` has an ID `123456`, you can access the group either at +`https://gitlab.example.com/example-group` or `https://gitlab.example.com/-/g/123456`. + +You might need the group ID if you want to interact with it using the [GitLab API](../../api/index.md). + +To copy the Group ID: + +1. On the left sidebar, select **Search or go to** and find your Group. +1. On the Group overview page, in the upper-right corner, select **Actions** (**{ellipsis_v}**). +1. Select **Copy Group ID**. + ## Create a group To create a group: @@ -441,15 +457,3 @@ To change the role that can create projects under a group: 1. Select **Save changes**. To change this setting globally, see [Default project creation protection](../../administration/settings/visibility_and_access_controls.md#define-which-roles-can-create-projects). - -## Get the group ID - -> - Group ID [moved](https://gitlab.com/gitlab-org/gitlab/-/issues/431539) to the Actions menu in GitLab 16.7. - -You might need the group ID if you want to interact with it using the [GitLab API](../../api/index.md). - -To copy the group ID: - -1. On the left sidebar, select **Search or go to** and find your group. -1. On the group overview page, in the upper-right corner, select **Actions** (**{ellipsis_v})**. -1. Select **Copy group ID**. diff --git a/doc/user/project/working_with_projects.md b/doc/user/project/working_with_projects.md index b340ab2d7f5b1e55c1734c5e2cb99c83e12ec95f..e84f0fe49da6f7e8a716b059b9faafd5cb671fc4 100644 --- a/doc/user/project/working_with_projects.md +++ b/doc/user/project/working_with_projects.md @@ -57,6 +57,9 @@ You can access a project by using its ID instead of its name at `https://gitlab. For example, if in your personal namespace `alex` you have a project `my-project` with the ID `123456`, you can access the project either at `https://gitlab.example.com/alex/my-project` or `https://gitlab.example.com/projects/123456`. +NOTE: +From GitLab 17.5, you can also use `https://gitlab.example.com/-/p/<id>` for this endpoint. + You might also need the project ID if you want to interact with the project using the [GitLab API](../../api/index.md). To copy the project ID: