Skip to main content
DELETE
Delete a sequence
Permanently deletes the sequence, its steps, and the enrollment records of everyone who went through it. It cannot be undone. The email templates its steps used are not deleted.
Deleting is refused with 409 while any enrollment in the sequence is pending, active or paused. Disabling the sequence does not help: disabling pauses enrollments, and paused enrollments still count.

Clearing a sequence before you delete it

  1. Find who is still in it: GET /v2/sequencer/enrollments?sequence=SEQ_ID&state=active, then the same with state=paused and state=pending.
  2. Finish them with Finish enrollments in bulk, or move them to another sequence with Move enrollments to another sequence.
  3. Delete the sequence.
If you only want to stop it, disable it instead: that keeps every enrollment and can be undone.

Example

This DELETE takes a JSON body carrying user_id. Some HTTP clients drop the body of a DELETE by default, which gets a 400.
user_id must be the author, the team owner or a team admin. A retry after a successful delete gets a 404.

Authorizations

x-api-key
string
header
required

Team-scoped API key generated in the Salesfinity dashboard under Settings → Connections → API & Webhooks. A missing or invalid key returns HTTP 403.

Path Parameters

id
string
required

24-character sequence id.

Body

application/json
user_id
string
required

The team member this call acts as. Must be an active member of the team the API key belongs to.

Example:

"507f1f77bcf86cd799439011"

Response

Deleted.

success
boolean
required

Always true.