Update project settings
Updates bounded project settings such as workflow mode, portal config, AI config, and ticket prefix.
PATCH
/api/v1/projects/:id/settingsAuthorization
projects:writeapi key scoperequiredRequired scope when calling with an API key.
Path parameters
idstringrequiredProject ID
Example: proj_abc123
Request body
workflow_modestringoptionalWorkflow mode
workflow_metadataobjectoptionalWorkflow metadata object or null
portal_configobjectoptionalPortal config object or null
ai_configobjectoptionalAI config object or null
ticket_prefixstringoptionalTicket prefix or null
confirmbooleanrequiredMust be true
Example request
{
"ticket_prefix": "ACME",
"confirm": true
}Request
curl -X PATCH "https://www.digitalstack360.com/api/v1/projects/proj_abc123/settings" \
-H "Authorization: Bearer $DS_API_KEY" \
-H "Idempotency-Key: project-settings-update-v1" \
-H "Content-Type: application/json" \
-d '{"ticket_prefix":"ACME","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,
"settings": {
"project_id": "proj_abc123",
"ticket_prefix": "ACME"
},
"event_type": "project.settings_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