sequences

Discard a draft nobody has touched

Deletes a draft only while it is exactly as New sequence created it: the name it was given, no audience, no senders and nothing written. Any other sequence is left as it is and discarded comes back false. The dashboard calls this when someone returns from a new sequence without changing it.

post/sequences/{sequence_id}/discard/

Request

  • Base URL: https://api.getoneprofile.ai (the document declares no server; this is the origin it was published from)
  • URL: https://api.getoneprofile.ai/sequences/{sequence_id}/discard/
  • Auth: one of:
    • API key in header X-API-Key
    • HTTP bearer

Path parameters

sequence_idstring uuid required

Response

Successful Response

discardedboolean required

True when the draft was untouched and is now deleted; false leaves it.

Changes

No recorded changes to this operation across all 1 revision of this API.