POST /v1/sequences/enrollments/\{id\}/cancel
Service: comms · operationId: (none)
Required scopes
(no scope declared — review service config)
Path parameters
id(string) required —
Responses
200 Enrollment cancelled
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"sequence_id": {
"type": "string"
},
"brand_id": {
"type": "string"
},
"person_id": {
"type": "string"
},
"recipient": {
"type": "string"
},
"current_step": {
"type": "number"
},
"status": {
"type": "string"
},
"next_step_at": {
"type": [
"string",
"null"
]
},
"enrolled_at": {
"type": "string"
},
"completed_at": {
"type": [
"string",
"null"
]
},
"cancelled_at": {
"type": [
"string",
"null"
]
}
},
"required": [
"id",
"sequence_id",
"brand_id",
"person_id",
"recipient",
"current_step",
"status",
"next_step_at",
"enrolled_at",
"completed_at",
"cancelled_at"
]
}404 Not found
{
"type": "object",
"properties": {
"error": {
"type": "string"
},
"message": {
"type": "string"
}
},
"required": [
"error",
"message"
]
}Example
curl -X POST https://comms.platform.loop.health/v1/sequences/enrollments/{id}/cancel \
-H "Authorization: Bearer $ACCESS_TOKEN"Related
services/comms— service overview- All endpoints — directory across services
- Auth model — how scopes are enforced