Skip to main content

Update a project status (JSON Merge Patch).

PATCH/api/v1/project-statuses/{project_status_id}lookup_lists:write

Projects hold a status by its name. A rename is refused with 409 in_use while any project holds the current name and no other status has that name; move those projects to another status first. 409 already_exists when another status has the new name.

Scopelookup_lists:write
AsynchronousNo
MCP toolupdate_project_status
Portal permissionsedit_project_statuses

Parameters​

NameInTypeRequiredDescription
project_status_idpathstringRequired
Docwize-Versionheaderstring (date)Optional
If-MatchheaderstringOptional

Request body​

Content typeType
application/jsonProjectStatusPatchInput
application/merge-patch+jsonProjectStatusPatchInput

Responses​

StatusDescriptionBody
200Success.application/json ProjectStatus or object
400invalid_version, malformed_jsonapplication/problem+json Problem
401token_expired, unauthenticatedapplication/problem+json Problem
403forbidden, insufficient_scope, token_owner_inactiveapplication/problem+json Problem
404not_foundapplication/problem+json Problem
405method_not_allowedapplication/problem+json Problem
406not_acceptableapplication/problem+json Problem
409already_exists, in_useapplication/problem+json Problem
412precondition_failedapplication/problem+json Problem
413payload_too_largeapplication/problem+json Problem
415unsupported_media_typeapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

Errors​

The problem codes this operation can answer with. Each code links to its page.

Schemas​

ProjectStatus​

FieldTypeRequiredDescription
descriptionstring or nullRequired
namestring or nullRequired
project_status_idstringRequired
project_type_idstring or nullRequiredThe project type the status belongs to; null for any.

ProjectStatusPatchInput​

FieldTypeRequiredDescription
descriptionstring or nullOptional
namestring or nullOptional
project_type_idstring or nullOptional