Skip to main content

Update an action request type (JSON Merge Patch).

PATCH/api/v1/action-request-types/{action_request_type_id}workflow_setup:write

Only the members sent change. A soft-deleted type answers 404. If-Match is honoured.

Scopeworkflow_setup:write
AsynchronousNo
MCP toolupdate_action_request_type
Portal permissionsedit_workflow_request_definitions

Parameters​

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

Request body​

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

Responses​

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

ActionRequestType​

FieldTypeRequiredDescription
action_request_type_idstringRequired
exclude_from_reportsbooleanRequired
hide_when_cancelledbooleanRequiredHide the request from the inbox once its workflow is cancelled.
namestringRequired
reply_countintegerRequiredThe reply options the type offers. ≥ -2147483648; ≤ 2147483647
requires_mfabooleanRequiredAnswers need a one-time code.
sort_orderintegerRequired≥ -2147483648; ≤ 2147483647

ActionRequestTypePatchInput​

FieldTypeRequiredDescription
action_request_type_idstring or nullOptional
exclude_from_reportsboolean or nullOptional
hide_when_cancelledboolean or nullOptional
namestring or nullOptional
reply_countinteger or nullOptional
requires_mfaboolean or nullOptional
sort_orderinteger or nullOptional