# Delete

Launch stage: GA

`DELETE /api/2.0/git-credentials/{id}`

Deletes the specified Git credential.

API scopes: workspace

## Path parameters

- `id` (int64, optional)
  The ID for the corresponding credential to access.
  Example: `93488329053511`

## Query parameters

- `principal_id` (int64, optional)
  The ID of the service principal whose credentials will be modified. Only service principal managers can perform this action.
  Example: `8573549053511`

## Response

### The credential was successfully deleted.

```json
{}
```

