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

# store.deleteGitCredential()

> Remove a stored Git credential from a repository.

> [!WARNING]
>
> This page documents the earlier Code Storage SDKs: `@pierre/storage`, `pierre-storage`, and
> `code-storage-go`. New code uses the [Pierre SDK](https://code.storage/docs/sdks.md). To move code to the new SDK, use the
> [`pierre-migrate`
> skill](https://github.com/pierrecomputer/skills/tree/main/skills/pierre-migrate).

```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,
})
```

## Options

**id** `string` *required*

The credential ID returned by `createGitCredential()`.

## Related

* [createGitCredential()](https://code.storage/docs/sdk/repos/git-credential-create.md)
* [updateGitCredential()](https://code.storage/docs/sdk/repos/git-credential-update.md)
* [Generic Sync](https://code.storage/docs/repos/generic-sync.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.