FruxonDocs
ApiAgentdraft

Discard the draft.

Permanently deletes the draft and its entire undo/redo history. Called when the user abandons their changes, or by the studio after a draft is promoted to a published revision.

DELETE
/v1/tenants/{tenant}/agents/{agent}/revisions/{revision}/draft
AuthorizationBearer <token>

JWT Authorization header using the Bearer scheme. Enter 'Bearer' [space] and then your token.

In: header

Path Parameters

agent*string

The unique identifier of the agent.

revision*string

The base revision the draft forks from.

tenant*string

The tenant identifier

Response Body

curl -X DELETE "https://api.fruxon.com/v1/tenants/string/agents/string/revisions/string/draft"
Empty
Empty
Empty
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "property1": null,
  "property2": null
}