## Delete Credential

`credentials.delete(strcredential_id)  -> CredentialDeleteResponse`

**delete** `/v5/credentials/{credential_id}`

Permanently delete a credential and all its associated data.

### Parameters

- `credential_id: str`

### Returns

- `class CredentialDeleteResponse: …`

  - `id: str`

  - `deleted: bool`

  - `object: Optional[str]`

### Example

```python
import os
from scale_gp_beta import SGPClient

client = SGPClient(
    api_key=os.environ.get("SGP_API_KEY"),  # This is the default and can be omitted
)
credential = client.credentials.delete(
    "credential_id",
)
print(credential.id)
```

#### Response

```json
{
  "id": "id",
  "deleted": true,
  "object": "object"
}
```
