Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions docs/gl_objects/job_token_scope.rst
Original file line number Diff line number Diff line change
Expand Up @@ -82,13 +82,13 @@ Get a project's CI/CD job token inbound groups allowlist::

allowlist = scope.groups_allowlist.list(get_all=True)

Add a project to the project's inbound groups allowlist::
Add a group to the project's inbound groups allowlist::

allowed_project = scope.groups_allowlist.create({"target_project_id": 42})
allowed_group = scope.groups_allowlist.create({"target_group_id": 42})

Remove a project from the project's inbound agroups llowlist::
Remove a group from the project's inbound groups allowlist::

allowed_project.delete()
allowed_group.delete()
# or directly using a Group ID
scope.groups_allowlist.delete(42)

Expand Down