---
title: "Undo inline edits of enrichment suggestions"
method: DELETE
path: "/api/1/agent/enrichment/executions/{id}/edit"
tags: ["Enrichment"]
---

# Undo inline edits of enrichment suggestions

`DELETE /api/1/agent/enrichment/executions/{id}/edit`

## Request

- Base URL: `https://{your-bynder-domain}`
- URL: `https://{your-bynder-domain}/api/1/agent/enrichment/executions/{id}/edit`
- Auth: HTTP bearer

Undoes earlier inline edits, restoring the given suggestions to their original values. Same resource as PATCH: PATCH applies an edit, DELETE removes it. Suggestions that do not belong to this agent execution are reported in skippedIds.

## Path parameters

- `id` string, uuid, required

## Request body

- UndoEditSuggestionsRequest: Undo-edit request. The agent execution comes from the {id} path segment.
  - `suggestionIds` string[], required

## Response `202`

Undo-edit command published; applied asynchronously

- CommandAcceptedResponse
  - `correlationId` string, uuid
  - `skippedIds` string[]: Requested ids not owned by this account and so not processed. The rest of the request still went through.

## Other responses

- `400`: The request body failed validation
- `401`: Missing or invalid bearer token
- `403`: Caller lacks the required permission for this operation
- `429`: Caller exceeded its configured request rate
- `5XX`: Gateway or a downstream service failed to process the request

---

[API](https://skmtc.dev/bynder/apis/ai-agents.md) - [All operations](https://skmtc.dev/bynder/apis/ai-agents/llms.txt) - [OpenAPI document](https://skmtc.dev/bynder/apis/ai-agents/revisions/60a586064d6f?raw)
