Delete an agent version
Delete a saved version.
agent_idrequiredversion_numberrequireduser_idintegerReseller keys only: act as one of your clients by its user id. Omit it to act on your own account. [How acting for a client works](/docs/reseller/your-clients/acting-as-clients).
curl -X DELETE 'https://omnidim.io/api/v1/agents/{agent_id}/versions/{version_number}' \ -H 'Authorization: Bearer YOUR_API_KEY'
{ "success": true, "message": "Version deleted successfully" }
BearerAuthAuthorizationBearer <token>Bearer token authentication. Obtain your API key from the OmniDimension dashboard.
agent_id*integerThe ID of the agent.
version_number*integerThe version number, as returned in version_number from the list or save endpoints.
user_id?integerReseller keys only: act as one of your clients by its user id. Omit it to act on your own account. How acting for a client works.
Response body
application/jsonVersion deleted.
application/jsonsuccess?booleanmessage?stringWas this page helpful?
Rename an agent version
Rename a saved version or edit its note. Version history is immutable otherwise; only the name and note can change.
Diff an agent version
Get a record-level diff for this version. By default it shows what changed in this version compared with the version before it. Use `against=current` to compare with the agent's live config (what restoring this version would change), or `against=<number>` to compare with another version.
