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()
I'm somewhat confused.
How does it know which key to delete?
Do you have a small code sample that shows this working?
See: https://github.com/python-gitlab/python-gitlab/blob/main/tests/functional/api/test_deploy_keys.py#L10-L11
Looks like a deploy_key.id is passed.
In page: gl_objects/deploy_keys.rst
This should read: