Skip to main content

Rename a post-review status.

PATCH/api/v1/post-review-statuses/{post_review_status_id}lookup_lists:write

Needs Edit Document Statuses. Refused when documents hold the current name, unless update_records=true, which changes them too (queued after the rename).

Scopelookup_lists:write
AsynchronousNo
MCP toolupdate_post_review_status
Portal permissionsedit_document_statuses

Parameters​

NameInTypeRequiredDescription
post_review_status_idpathstringRequired
update_recordsqueryboolean or nullOptionaltrue also changes the records that hold the current name to the new one, queued as a bulk job after the rename commits. Needed when any record holds it.
Docwize-Versionheaderstring (date)Optional
If-MatchheaderstringOptional

Request body​

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

Responses​

StatusDescriptionBody
200Success.application/json PostReviewStatus 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, conflict, 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​

PostReviewStatus​

FieldTypeRequiredDescription
namestringRequired
post_review_status_idstringRequired

PostReviewStatusPatchInput​

FieldTypeRequiredDescription
namestring or nullOptional
post_review_status_idstring or nullOptional