Skip to main content

Rename or merge a section label.

POST/api/v1/section-labels/{section_label_id}/relabelworkflows:author

Gives every saved version of every template the new label. The new text has a new section_label_id. This rewrites templates you may not see, as the Portal does.

Scopeworkflows:author
AsynchronousNo
MCP toolrelabel_section_label
Portal permissionsedit_workflow_section_labels

Parameters​

NameInTypeRequiredDescription
section_label_idpathstringRequired
Docwize-Versionheaderstring (date)Optional
Idempotency-KeyheaderstringOptionalmax 255

Request body​

Content typeType
application/jsonSectionLabelRelabelBodyInput

Responses​

StatusDescriptionBody
200Success.application/json SectionLabelRelabel 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
409idempotency_in_progressapplication/problem+json Problem
413payload_too_largeapplication/problem+json Problem
415unsupported_media_typeapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422idempotency_key_reused, validation_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​

SectionLabelRelabel​

FieldTypeRequiredDescription
namestringRequired
node_countintegerRequired≥ -2147483648; ≤ 2147483647
section_label_idstringRequired
template_countintegerRequired≥ -2147483648; ≤ 2147483647
version_countintegerRequired≥ -2147483648; ≤ 2147483647

SectionLabelRelabelBodyInput​

FieldTypeRequiredDescription
namestringRequiredThe label the sections carry instead.