curl --request PATCH \
--url https://api.dittowords.com/v2/projects/{projectId} \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "My Renamed Project"
}
'{
"id": "my-renamed-project",
"name": "My Renamed Project",
"baseId": "my-base"
}{
"message": "Must provide at least one field to update"
}{
"message": "Bases are not enabled for this workspace"
}{
"message": "Could not find project: my-project"
}{
"message": "Already exists in workspace"
}Projects
Update a project
Updates a project’s name, Developer ID, and/or connected base.
The project is identified by its current Developer ID in the URL path. Only provided fields are modified.
PATCH
/
projects
/
{projectId}
curl --request PATCH \
--url https://api.dittowords.com/v2/projects/{projectId} \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "My Renamed Project"
}
'{
"id": "my-renamed-project",
"name": "My Renamed Project",
"baseId": "my-base"
}{
"message": "Must provide at least one field to update"
}{
"message": "Bases are not enabled for this workspace"
}{
"message": "Could not find project: my-project"
}{
"message": "Already exists in workspace"
}Authorizations
Path Parameters
The Developer ID of the project to update
Minimum string length:
1Body
application/json
Response
Returns the developer ID and name of the updated project, as well as the developer ID of the connected base (or null).