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.
| Scope | custom_fields:write |
| Asynchronous | No |
| MCP tool | update_graph_saved_path |
| Portal permissions | edit_graph_saved_paths |
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
saved_path_id | path | string | Required | |
Docwize-Version | header | string (date) | Optional | |
If-Match | header | string | Optional |
Request body
| Content type | Type |
|---|---|
application/json | GraphSavedPathPatchInput |
application/merge-patch+json | GraphSavedPathPatchInput |
Responses
| Status | Description | Body |
|---|---|---|
200 | Success. | application/json GraphSavedPath or object |
400 | invalid_version, malformed_json | application/problem+json Problem |
401 | token_expired, unauthenticated | application/problem+json Problem |
403 | forbidden, insufficient_scope, token_owner_inactive | application/problem+json Problem |
404 | not_found | application/problem+json Problem |
405 | method_not_allowed | application/problem+json Problem |
406 | not_acceptable | application/problem+json Problem |
409 | already_exists | application/problem+json Problem |
412 | precondition_failed | application/problem+json Problem |
413 | payload_too_large | application/problem+json Problem |
415 | unsupported_media_type | application/problem+json Problem |
421 | wrong_region | application/problem+json Problem |
422 | validation_failed | application/problem+json Problem |
500 | internal_error | application/problem+json Problem |
503 | tenant_unavailable, unavailable | application/problem+json Problem |
504 | timeout | application/problem+json Problem |
Errors
The problem codes this operation can answer with. Each code links to its page.
Schemas
GraphSavedPath
| Field | Type | Required | Description |
|---|---|---|---|
description | string or null | Required | |
is_active | boolean | Required | |
name | string | Required | |
perspective | string | Required | all or executive. |
saved_path_id | string | Required | |
slug | string | Required | |
start_custom_field_template_id | string or null | Required | The register a register_row path starts at. |
start_kind | string | Required | document or register_row. |
steps | object or null | Required | The steps with their labels (format graph_saved_path_steps): the Portal's own document. |
GraphSavedPathPatchInput
| Field | Type | Required | Description |
|---|---|---|---|
description | string or null | Optional | |
is_active | boolean or null | Optional | |
name | string or null | Optional | |
perspective | string or null | Optional | |
saved_path_id | string or null | Optional | |
slug | string or null | Optional | |
start_custom_field_template_id | string or null | Optional | |
start_kind | string or null | Optional | |
steps | object or null | Optional |