Skip to main content
POST
/
sequences
/
{id}
/
unenroll
Unenroll contacts
curl --request POST \
  --url https://app.leonar.app/api/v1/sequences/{id}/unenroll \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "contact_ids": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ]
}
'
{
  "data": {
    "unenrolled": 123,
    "not_found": 123
  }
}

Authorizations

Authorization
string
header
required

API key starting with leo_

Path Parameters

id
string<uuid>
required

Sequence ID

Body

application/json
contact_ids
string<uuid>[]
required

Response

Unenrollment results

data
object