Skip to content

Waitlist programs: update, delete

The Waitlist Verbs update, delete as MCP do programs, with inputs, result, refusals and an example.

Reference for Waitlist, one group of Waitlist programs.

Waitlist.update

Changes the given properties of a Waitlist. Verb page.

Text
do: return await $.Waitlist.update(input)

Emits Waitlist.updated.

Inputs

InputTypeRequiredDescription
idstringrequiredThe id of the Waitlist.
invitedintegerHow many Leads have been invited.
rankstringThe invite order: first come, best ICP fit, or most referrals first.

Returns

OutputTypeRequiredDescription
waitlistWaitlistrequiredThe Waitlist.

Refuses when

CheckErrorFixThen call
The key is valid, but its scopes do not allow this operation.forbiddenUse a key whose scopes cover the operation, or ask an owner of the namespace to grant them.None.

Example

JSON
{
  "name": "do",
  "arguments": {
    "code": "return await $.Waitlist.update({ id: 'waitlist_rBixb72HGB', invited: 1 })"
  }
}

Waitlist.delete

Deletes a Waitlist: a soft delete that keeps its history, undone by Thing.restore. Verb page.

Text
do: return await $.Waitlist.delete(input)

Emits Waitlist.deleted.

Inputs

InputTypeRequiredDescription
idstringrequiredThe id of the Waitlist.

Returns

OutputTypeRequiredDescription
waitlistWaitlistrequiredThe Waitlist.

Refuses when

CheckErrorFixThen call
The key is valid, but its scopes do not allow this operation.forbiddenUse a key whose scopes cover the operation, or ask an owner of the namespace to grant them.None.

Example

JSON
{
  "name": "do",
  "arguments": {
    "code": "return await $.Waitlist.delete({ id: 'waitlist_rBixb72HGB' })"
  }
}