https
PATCH
api.github.com
None
/repos/EnricoMi/PyGithub/hooks/720162395
{'User-Agent': 'PyGithub/Python', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Authorization': 'token private_token_removed', 'Content-Type': 'application/json', 'Content-Length': '68'}
{"config": {"url": "http://foobar.com"}, "events": ["fork", "push"]}
200
[('x-frame-options', 'deny'), ('content-encoding', 'gzip'), ('strict-transport-security', 'max-age=31536000; includeSubdomains; preload'), ('content-type', 'application/json; charset=utf-8'), ('access-control-allow-origin', '*'), ('x-ratelimit-used', '1'), ('x-github-request-id', 'F009:2DB8FC:75F3CD:AFA454:6B119299'), ('server', 'github.com'), ('access-control-expose-headers', 'ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset, Warning'), ('x-github-edge-region', 'fra'), ('referrer-policy', 'origin-when-cross-origin, strict-origin-when-cross-origin'), ('x-ratelimit-resource', 'webhook_deliveries'), ('vary', 'Accept, Authorization, Cookie, X-GitHub-OTP,Accept-Encoding, Accept, X-Requested-With'), ('x-content-type-options', 'nosniff'), ('etag', 'W/"f1a253d5591b4edd9ee80df8bb396292bad3ed6fa102b6058c6c5a2d8a5f10ba"'), ('date', 'Thu, 03 Dec 2026 16:02:34 GMT'), ('cache-control', 'private, max-age=60, s-maxage=60'), ('x-accepted-github-permissions', 'repository_hooks=write'), ('content-security-policy', "default-src 'none'"), ('github-authentication-token-expiration', '2026-12-25 14:55:45 UTC'), ('x-github-api-version-selected', '2022-11-28'), ('x-github-media-type', 'github.v3; format=json'), ('x-ratelimit-limit', '500'), ('x-ratelimit-remaining', '499'), ('x-ratelimit-reset', '1796313813'), ('x-xss-protection', '0')]
{"type":"Repository","id":720162395,"name":"web","active":false,"events":["push","fork"],"config":{"insecure_ssl":"0","url":"http://foobar.com","content_type":"form"},"updated_at":"2026-12-03T16:02:34Z","created_at":"2026-12-03T15:34:43Z","url":"https://api.github.com/repos/EnricoMi/PyGithub/hooks/720162395","test_url":"https://api.github.com/repos/EnricoMi/PyGithub/hooks/720162395/test","ping_url":"https://api.github.com/repos/EnricoMi/PyGithub/hooks/720162395/pings","deliveries_url":"https://api.github.com/repos/EnricoMi/PyGithub/hooks/720162395/deliveries","last_response":{"code":403,"status":null,"message":"Invalid HTTP Response: 403"}}

https
PATCH
api.github.com
None
/repos/EnricoMi/PyGithub/hooks/720162395
{'User-Agent': 'PyGithub/Python', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Authorization': 'token private_token_removed', 'Content-Type': 'application/json', 'Content-Length': '64'}
{"config": {"url": "http://foobar.com"}, "add_events": ["push"]}
200
[('x-frame-options', 'deny'), ('content-encoding', 'gzip'), ('strict-transport-security', 'max-age=31536000; includeSubdomains; preload'), ('content-type', 'application/json; charset=utf-8'), ('access-control-allow-origin', '*'), ('x-ratelimit-used', '2'), ('x-github-request-id', 'E8C9:1EECC6:74CCC6:AD8076:6B11929A'), ('server', 'github.com'), ('access-control-expose-headers', 'ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset, Warning'), ('x-github-edge-region', 'fra'), ('referrer-policy', 'origin-when-cross-origin, strict-origin-when-cross-origin'), ('x-ratelimit-resource', 'webhook_deliveries'), ('vary', 'Accept, Authorization, Cookie, X-GitHub-OTP,Accept-Encoding, Accept, X-Requested-With'), ('x-content-type-options', 'nosniff'), ('etag', 'W/"2a8adf0d6c363de195634154240823a62379ad6040434871d402cbf8437403ca"'), ('date', 'Thu, 03 Dec 2026 16:02:34 GMT'), ('cache-control', 'private, max-age=60, s-maxage=60'), ('x-accepted-github-permissions', 'repository_hooks=write'), ('content-security-policy', "default-src 'none'"), ('github-authentication-token-expiration', '2026-12-25 14:55:45 UTC'), ('x-github-api-version-selected', '2022-11-28'), ('x-github-media-type', 'github.v3; format=json'), ('x-ratelimit-limit', '500'), ('x-ratelimit-remaining', '498'), ('x-ratelimit-reset', '1796313813'), ('x-xss-protection', '0')]
{"type":"Repository","id":720162395,"name":"web","active":false,"events":["fork","push"],"config":{"insecure_ssl":"0","url":"http://foobar.com","content_type":"form"},"updated_at":"2026-12-03T16:02:34Z","created_at":"2026-12-03T15:34:43Z","url":"https://api.github.com/repos/EnricoMi/PyGithub/hooks/720162395","test_url":"https://api.github.com/repos/EnricoMi/PyGithub/hooks/720162395/test","ping_url":"https://api.github.com/repos/EnricoMi/PyGithub/hooks/720162395/pings","deliveries_url":"https://api.github.com/repos/EnricoMi/PyGithub/hooks/720162395/deliveries","last_response":{"code":403,"status":null,"message":"Invalid HTTP Response: 403"}}

https
PATCH
api.github.com
None
/repos/EnricoMi/PyGithub/hooks/720162395
{'User-Agent': 'PyGithub/Python', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Authorization': 'token private_token_removed', 'Content-Type': 'application/json', 'Content-Length': '67'}
{"config": {"url": "http://foobar.com"}, "remove_events": ["fork"]}
200
[('x-frame-options', 'deny'), ('content-encoding', 'gzip'), ('strict-transport-security', 'max-age=31536000; includeSubdomains; preload'), ('content-type', 'application/json; charset=utf-8'), ('access-control-allow-origin', '*'), ('x-ratelimit-used', '3'), ('x-github-request-id', 'F94E:1502EE:752ED8:AF28A7:6B11929A'), ('server', 'github.com'), ('access-control-expose-headers', 'ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset, Warning'), ('x-github-edge-region', 'fra'), ('referrer-policy', 'origin-when-cross-origin, strict-origin-when-cross-origin'), ('x-ratelimit-resource', 'webhook_deliveries'), ('vary', 'Accept, Authorization, Cookie, X-GitHub-OTP,Accept-Encoding, Accept, X-Requested-With'), ('x-content-type-options', 'nosniff'), ('etag', 'W/"431b7d2e0445c10998524c5576553bb1966e2f9f5efac1316396aca31ffa5046"'), ('date', 'Thu, 03 Dec 2026 16:02:34 GMT'), ('cache-control', 'private, max-age=60, s-maxage=60'), ('x-accepted-github-permissions', 'repository_hooks=write'), ('content-security-policy', "default-src 'none'"), ('github-authentication-token-expiration', '2026-12-25 14:55:45 UTC'), ('x-github-api-version-selected', '2022-11-28'), ('x-github-media-type', 'github.v3; format=json'), ('x-ratelimit-limit', '500'), ('x-ratelimit-remaining', '497'), ('x-ratelimit-reset', '1796313813'), ('x-xss-protection', '0')]
{"type":"Repository","id":720162395,"name":"web","active":false,"events":["push"],"config":{"insecure_ssl":"0","url":"http://foobar.com","content_type":"form"},"updated_at":"2026-12-03T16:02:34Z","created_at":"2026-12-03T15:34:43Z","url":"https://api.github.com/repos/EnricoMi/PyGithub/hooks/720162395","test_url":"https://api.github.com/repos/EnricoMi/PyGithub/hooks/720162395/test","ping_url":"https://api.github.com/repos/EnricoMi/PyGithub/hooks/720162395/pings","deliveries_url":"https://api.github.com/repos/EnricoMi/PyGithub/hooks/720162395/deliveries","last_response":{"code":403,"status":null,"message":"Invalid HTTP Response: 403"}}

https
PATCH
api.github.com
None
/repos/EnricoMi/PyGithub/hooks/720162395
{'User-Agent': 'PyGithub/Python', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Authorization': 'token private_token_removed', 'Content-Type': 'application/json', 'Content-Length': '56'}
{"config": {"url": "http://foobar.com"}, "active": true}
200
[('x-frame-options', 'deny'), ('content-encoding', 'gzip'), ('strict-transport-security', 'max-age=31536000; includeSubdomains; preload'), ('content-type', 'application/json; charset=utf-8'), ('access-control-allow-origin', '*'), ('x-ratelimit-used', '4'), ('x-github-request-id', 'EFC5:28852F:787EF9:B3163C:6B11929B'), ('server', 'github.com'), ('access-control-expose-headers', 'ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset, Warning'), ('x-github-edge-region', 'fra'), ('referrer-policy', 'origin-when-cross-origin, strict-origin-when-cross-origin'), ('x-ratelimit-resource', 'webhook_deliveries'), ('vary', 'Accept, Authorization, Cookie, X-GitHub-OTP,Accept-Encoding, Accept, X-Requested-With'), ('x-content-type-options', 'nosniff'), ('etag', 'W/"e12ac90d7fb7f4d8d00d81f179f6a20a863fe8d3992ff56d5ef7bc5aa58ee829"'), ('date', 'Thu, 03 Dec 2026 16:02:35 GMT'), ('cache-control', 'private, max-age=60, s-maxage=60'), ('x-accepted-github-permissions', 'repository_hooks=write'), ('content-security-policy', "default-src 'none'"), ('github-authentication-token-expiration', '2026-12-25 14:55:45 UTC'), ('x-github-api-version-selected', '2022-11-28'), ('x-github-media-type', 'github.v3; format=json'), ('x-ratelimit-limit', '500'), ('x-ratelimit-remaining', '496'), ('x-ratelimit-reset', '1796313813'), ('x-xss-protection', '0')]
{"type":"Repository","id":720162395,"name":"web","active":true,"events":["push"],"config":{"insecure_ssl":"0","url":"http://foobar.com","content_type":"form"},"updated_at":"2026-12-03T16:02:35Z","created_at":"2026-12-03T15:34:43Z","url":"https://api.github.com/repos/EnricoMi/PyGithub/hooks/720162395","test_url":"https://api.github.com/repos/EnricoMi/PyGithub/hooks/720162395/test","ping_url":"https://api.github.com/repos/EnricoMi/PyGithub/hooks/720162395/pings","deliveries_url":"https://api.github.com/repos/EnricoMi/PyGithub/hooks/720162395/deliveries","last_response":{"code":403,"status":null,"message":"Invalid HTTP Response: 403"}}
