Projects
Update a project
Changed onApply patches in order. replace name renames the project and replace properties changes only the property fields sent; both need project update rights. add/remove agent_memory (value: the text, or the index to remove) edit the caller's own saved agent preferences and are open to any project member. The whole batch is authorized before any patch is applied.
patch/workspaces/{workspace_id}/projects/{project_id}
Request
- Base URL: https://app.mammoth.io/api/v2
- URL: https://app.mammoth.io/api/v2/workspaces/{workspace_id}/projects/{project_id}
- Auth: one of:
- HTTP bearer
- API key in header X-API-KEY and API key in header X-API-SECRET and API key in header X-WORKSPACE-ID
Path parameters
workspace_idinteger required
Workspace refers to a collection of projects. Workspace ID is unique identifier for workspace.
Example:4
project_idinteger required
Project to delete
Example:4
Request body
Example request
{
"patches": [
{
"op": "replace",
"path": "name",
"value": {
"name": "My Project"
}
}
]
}Response
Successful patch
Example response
{
"properties": {
"value": {
"color": "#E3E5E8"
}
}
}Changes
- info
the
request property default value changed from#EB661Eto#02786D
- info
- info
the
request property default value changed from#6C757Cto#EB661E
- info