Update project identity
Updates bounded project identity and relationship fields. Raw project JSON and schedule coordinates are not accepted.
PATCH
/api/v1/projects/:idAuthorization
projects:writeapi key scoperequiredRequired scope when calling with an API key.
Path parameters
idstringrequiredProject ID
Example: proj_abc123
Request body
namestringoptionalProject/engagement name
client_namestringoptionalClient display name
client_urlstringoptionalClient URL or null
project_typestringoptionalBlueprint/project type token or null
linked_opportunity_idstringoptionalApproved source opportunity relationship or null
confirmbooleanrequiredMust be true
Example request
{
"client_name": "Acme Inc.",
"confirm": true
}Request
curl -X PATCH "https://www.digitalstack360.com/api/v1/projects/proj_abc123" \
-H "Authorization: Bearer $DS_API_KEY" \
-H "Idempotency-Key: project-update-acme-v1" \
-H "Content-Type: application/json" \
-d '{"client_name":"Acme Inc.","confirm":true}'Examples use a placeholder key from your environment. Store your key in $DS_API_KEY — never commit it.
Response
200 OK
{
"data": {
"ok": true,
"project": {
"id": "proj_abc123",
"client_name": "Acme Inc."
},
"changed_fields": [
"client_name"
],
"event_type": "project.updated",
"idempotency_replayed": false,
"errors": []
}
}Errors
401
missing_authNo credentials provided
401
invalid_api_keyAPI key is invalid or revoked
400
bad_requestMissing or invalid request fields
403
scope_insufficientKey lacks the required write scope
400
empty_project_updateNo accepted field was supplied