Skip to content
MCPProductBuild and shipProject

Project programs: update, delete

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

Reference for Project, one group of Project programs.

Project.update

Changes the given properties of a Project. Verb page.

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

Emits Project.updated.

Inputs

InputTypeRequiredDescription
idstringrequiredThe id of the Project.
startsOndateWhen work begins.
targetDatedateWhen it should be done.

Returns

OutputTypeRequiredDescription
projectProjectrequiredThe Project.

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 $.Project.update({ id: 'project_pUWTSQuuUM', startsOn: '2026-10-22' })"
  }
}

Project.delete

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

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

Emits Project.deleted.

Inputs

InputTypeRequiredDescription
idstringrequiredThe id of the Project.

Returns

OutputTypeRequiredDescription
projectProjectrequiredThe Project.

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 $.Project.delete({ id: 'project_pUWTSQuuUM' })"
  }
}