pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/python-gitlab/python-gitlab/commit/203bd92e524845a3e1287439d78c167133347a69

docs(job_token_scope): fix typo/inconsistency · python-gitlab/python-gitlab@203bd92 · GitHub
Skip to content

Commit 203bd92

Browse files
manuelgrabowskiJohnVillalovos
authored andcommitted
docs(job_token_scope): fix typo/inconsistency
1 parent a9163a9 commit 203bd92

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

docs/gl_objects/job_token_scope.rst

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -82,13 +82,13 @@ Get a project's CI/CD job token inbound groups allowlist::
8282

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

85-
Add a project to the project's inbound groups allowlist::
85+
Add a group to the project's inbound groups allowlist::
8686

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

89-
Remove a project from the project's inbound agroups llowlist::
89+
Remove a group from the project's inbound groups allowlist::
9090

91-
allowed_project.delete()
91+
allowed_group.delete()
9292
# or directly using a Group ID
9393
scope.groups_allowlist.delete(42)
9494

@@ -97,4 +97,3 @@ Remove a project from the project's inbound agroups llowlist::
9797
Similar to above, the ID attributes you receive from the create and list
9898
APIs are not consistent. To safely retrieve the ID of the allowlisted group
9999
regardless of how the object was created, always use its ``.get_id()`` method.
100-

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy