------ In page: gl_objects/deploy_keys.rst ``` Disable a deploy key for a project: project_key.delete() ``` This should read: ``` Disable a deploy key for a project: project.keys.delete() ```
Activity
[-]Documentation bug[/-][+][docs] Documentation bug[/+]JohnVillalovos commentedon Oct 12, 2021
I'm somewhat confused.
How does it know which key to delete?
Do you have a small code sample that shows this working?
JohnVillalovos commentedon Oct 12, 2021
See: https://github.com/python-gitlab/python-gitlab/blob/main/tests/functional/api/test_deploy_keys.py#L10-L11
Looks like a
deploy_key.idis passed.