Skip to main content
DELETE
/
api
/
v1
/
repos
/
git-credentials
Delete Generic Git Credential
curl --request DELETE \
  --url https://api.{cluster}.code.storage/api/v1/repos/git-credentials \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "id": "ggc_1234567890abcdef"
}
'
{
  "status": 123,
  "title": "<string>",
  "type": "<string>",
  "detail": "<string>",
  "error": "<string>",
  "instance": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://code.storage/docs/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Delete the stored HTTPS credential for a repository's generic Git upstream.

Request body identifying the HTTPS Git credential to delete.

id
string
required

Credential ID to delete.

Example:

"ggc_1234567890abcdef"

Response

Credential deleted successfully.