Skip to content

Replace procedure checklist steps

PUT
/v1/procedures/{policyId}/steps
curl --request PUT \
--url https://api.varman.io/v1/procedures/pol_abc123def456/steps \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <X-API-Key>' \
--data '{ "steps": [ "Export the access list", "Remove leavers", "Record the review" ] }'

Sets the ordered checklist steps of a procedure. Past runs keep the step text they recorded, so editing steps never rewrites history.

policyId
required
string

Example

pol_abc123def456

Procedure id (a policy with kind procedure)

X-Organization-Id
string
Media typeapplication/json
object
steps
required

Ordered checklist steps. Replaces the current list.

Array<string>

Example

[
"Export the access list",
"Remove leavers",
"Record the review"
]