Remove learner from waitlist

Take a learner off the waitlist of one piece of content.

DELETE https://cotlet.dev/api/v1/thought-industries/contents/{content_id}/waitlists

write Confirm

Opens the learner profile, goes to Waitlisted Content on the Access tab and clicks the trash icon next to the content, then confirms. add_to_waitlist puts the learner back, but at the end of the list. By default you confirm each call; you can switch that off for this tool.

Parameters

Parameters: remove_from_waitlist
NameTypeDescription
learner string required string Learner email or learner_id from list_learners.
content_id string required string Course or other content ID from list_courses.

Request

cURL
curl -X DELETE "https://cotlet.dev/api/v1/thought-industries/contents/content_8c41d2/waitlists?learner=learner" \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("thought-industries", "remove_from_waitlist", {"learner":"learner","content_id":"content_8c41d2"})
Node.js
const result = await cotlet.call('thought-industries', 'remove_from_waitlist', {"learner":"learner","content_id":"content_8c41d2"});
CLI
cotlet call thought-industries remove_from_waitlist --data '{"learner":"learner","content_id":"content_8c41d2"}'

Example response

JSON

{
  "learner": "sam.okafor@example.com",
  "content": "June webinar",
  "waitlisted": false
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.