Skip to main content

Change a saved graph path.

PATCH/api/v1/graph/saved-paths/{saved_path_id}custom_fields:write

A merge patch over the stored path. Needs Edit Graph Saved Paths.

Scopecustom_fields:write
AsynchronousNo
MCP toolupdate_graph_saved_path
Portal permissionsedit_graph_saved_paths

Parameters​

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

Request body​

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

Responses​

StatusDescriptionBody
200Success.application/json GraphSavedPath 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_existsapplication/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​

GraphSavedPath​

FieldTypeRequiredDescription
descriptionstring or nullRequired
is_activebooleanRequired
namestringRequired
perspectivestringRequiredall or executive.
saved_path_idstringRequired
slugstringRequired
start_custom_field_template_idstring or nullRequiredThe register a register_row path starts at.
start_kindstringRequireddocument or register_row.
stepsobject or nullRequiredThe steps with their labels (format graph_saved_path_steps): the Portal's own document.

GraphSavedPathPatchInput​

FieldTypeRequiredDescription
descriptionstring or nullOptional
is_activeboolean or nullOptional
namestring or nullOptional
perspectivestring or nullOptional
saved_path_idstring or nullOptional
slugstring or nullOptional
start_custom_field_template_idstring or nullOptional
start_kindstring or nullOptional
stepsobject or nullOptional