FruxonDocs
ApiAgent reply style

Discards a draft.

The draft is deleted at once. Only a draft can be discarded: the active version is turned off instead, and a retired one expires on its own. Agent admins only.

DELETE
/v1/tenants/{tenant}/agents/{agent}/replyStyle/versions/{version}
AuthorizationBearer <token>

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

In: header

Path Parameters

agent*string

The agent ID.

version*integer

The draft's version number.

Formatint32
tenant*string

The tenant identifier

Response Body

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