Agent Control
Delete an agent optimization run
Delete all results for a specific run of an agent optimization. Returns a 404 if the optimization does not exist or if the run has no results. A run whose results have already been deleted is indistinguishable from a run that never existed, so repeating this request also returns a 404.
Authorization
ApiKey read, writeAuthorization<token>
In: header
Scope: read, write
Path Parameters
projectKey*string
optimizationKey*string
runId*string
Format
uuidHeader Parameters
LD-API-Version*"beta"
Version of the endpoint.
Value in
- "beta"
Response Body
application/json
application/json
application/json
curl -X DELETE "https://example.com/api/v2/projects/string/agent-optimizations/string/runs/497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "LD-API-Version: beta"Empty