## Delete Agent Config (hard delete)

**delete** `/v5/agent_configs/{agent_config_id}`

Permanently delete an agent config; this is a hard delete, not an archive, so the row is removed and cannot be restored.

Because a config is only a template, deleting it does not stop or alter any task
already created from it. A user caller can only delete a config they created
unless fine-grained access control grants access. The response echoes the
deleted id.

### Path Parameters

- `agent_config_id: string`

### Returns

- `id: string`

- `deleted: boolean`

- `object: optional "agent_config"`

  - `"agent_config"`

### Example

```http
curl https://api.egp.scale.com/v5/agent_configs/$AGENT_CONFIG_ID \
    -X DELETE \
    -H "x-api-key: $SGP_API_KEY"
```

#### Response

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