Repositories
Delete a Git reference
Queues deletion of the ref only if its current OID and repository configuration generation match the request. 202 is a push-job receipt, not deletion completion. Requires authenticated authority and enforces current resource policy.
post/api/repos/{owner}/{repo}/refs/deletions/
Request
- Base URLhttps://git.cafe
- Auth
- API key in cookie gc-session
- or HTTP bearer
- or HTTP basic
- or HTTP token
- or OAuth 2Authorization code: /api/oauth/authorizeToken URL: /api/oauth/token scopes: repo:contents:write
Path parameters
ownerstring required
repostring required
Request body
Response
Response for status 202
Changes
No recorded changes to this operation across all 1 revision of this API.