Skip to content

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 ParametersExpand Collapse
agent_config_id: string
ReturnsExpand Collapse
id: string
deleted: boolean
object: optional "agent_config"

Delete Agent Config (hard delete)

curl https://api.egp.scale.com/v5/agent_configs/$AGENT_CONFIG_ID \
    -X DELETE \
    -H "x-api-key: $SGP_API_KEY"
{
  "id": "id",
  "deleted": true,
  "object": "agent_config"
}
Returns Examples
{
  "id": "id",
  "deleted": true,
  "object": "agent_config"
}