POST
Projects.Update
Update a project like dashboard save_project when project_id is set. Scoped by created_by=org owner. Also updates linked missions lead_id and mission_dependency. Alias: Projects.Edit.
Permissions
- User must be logged in with a valid bearer token.
- Returned or changed records are limited by the user permissions, team access, folder access, and account settings.
Action
- Updates the requested Projects record after validating permissions and input fields.
Push Service
No push is sent because this function only reads data or returns helper information.
Automation
No automation is run for this function.
Special Instructions
- Requires project_id of an org project (created_by = owner).
- Same body fields as Projects.Add plus project_id.
- Does not change user_id / created_by (dashboard behavior).
Required Parameters
| Name | Type | Sample | Explanation |
|---|---|---|---|
project_idpost | int | 900 | Project id. Aliases: id, data_id, update_id. |
project_namepost | string | Website redesign v2 | Project name. Alias: name. |
Optional Parameters
| Name | Type | Sample | What it gives |
|---|---|---|---|
client_idpost | int | 12614595 | Customer id. Aliases: customer_id, cust_id. |
organizations_userpost | mixed | [47,52] | Team member ids. Aliases: member, member_ids, team_members. |
default_userpost | mixed | [47] | Default assignee user ids. |
credentialspost | string | ftp login | Credentials text. |
notepost | string | Updated notes | Project note. |
tagspost | mixed | 1,2 | Tag ids. |
private_projectpost | int | 0 | 1 = private project. |
use_as_templatepost | int | 0 | Template flag. |
allow_add_missionpost | int | 0 | Allow add mission flag. |
show_hide_tagpost | int | 1 | Show/hide tags. |
mission_dependencypost | int | 0 | Mission dependency flag. |
donepost | int | 0 | Done flag. |
custom_fieldspost | mixed | {"project-priority":"high"} | Custom fields object or project-* keys. |
Authentication
Send the bearer token returned by Login in the request header.
Authorization: Bearer YOUR TOKEN
Sample Request
{
"url": "\/app\/Projects.Update",
"method": "POST",
"headers": {
"Authorization": "Bearer YOUR TOKEN"
},
"body": {
"project_id": "900",
"project_name": "Website redesign v2",
"client_id": "12614595"
},
"url_user": "https:\/\/{user}.bull36.com\/app\/Projects.Update",
"url_domain": "https:\/\/{domain}\/app\/Projects.Update"
}Endpoint
POST /app/Projects.Update
POST https://{user}.bull36.com/app/Projects.Update
POST https://{domain}/app/Projects.UpdateSample Output
{
"success": 1,
"id": 900,
"project_id": 900,
"message": "Your Projects Details Update"
}JavaScript Example
const token = 'YOUR TOKEN';
const body = new URLSearchParams({ project_id: '900', project_name: 'Website redesign v2', client_id: '12614595' });
const res = await fetch('/app/Projects.Update', { method: 'POST', headers: { Authorization: 'Bearer ' + token }, body });
console.log(await res.json());Error Example
{
"success": 0,
"error": "not_found",
"message": "Project not found"
}