> ## 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.

# deleteGitCredential()

> Remove a stored Git credential from a repository.

<CodeGroup>
  ```typescript TypeScript theme={null} theme={"theme":{"light":"github-light","dark":"min-dark"}}
  await store.deleteGitCredential({
    id: credential.id,
  });
  ```

  ```python Python theme={null} theme={"theme":{"light":"github-light","dark":"min-dark"}}
  await storage.delete_git_credential(
      id=credential.id,
  )
  ```

  ```go Go theme={null} theme={"theme":{"light":"github-light","dark":"min-dark"}}
  _, err := client.DeleteGitCredential(context.Background(), storage.DeleteGitCredentialRequest{
  	ID: credential.ID,
  })
  ```
</CodeGroup>

## Options

<ParamField path="id" type="string" required>
  The credential ID returned by `createGitCredential()`.
</ParamField>

## Related

* [createGitCredential()](/docs/reference/sdk/create-git-credential)
* [updateGitCredential()](/docs/reference/sdk/update-git-credential)
* [Integrations](/docs/guides/integrations)
