MCPcopy Index your code
hub / github.com/PyGithub/PyGithub / delete

Method delete

github/RepositoryKey.py:134–138  ·  view source on GitHub ↗

:calls: `DELETE /repos/{owner}/{repo}/keys/{key_id} `_

(self)

Source from the content-addressed store, hash-verified

132 return self._verified.value
133
134 def delete(self) -> None:
135 """
136 :calls: `DELETE /repos/{owner}/{repo}/keys/{key_id} <https://docs.github.com/en/rest/reference/repos#deploy-keys>`_
137 """
138 headers, data = self._requester.requestJsonAndCheck("DELETE", self.url)
139
140 def _useAttributes(self, attributes: dict[str, Any]) -> None:
141 if "added_by" in attributes: # pragma no branch

Callers

nothing calls this directly

Calls 1

requestJsonAndCheckMethod · 0.80

Tested by

no test coverage detected