Skip to content

MngUpdateKycStepTemplate

Updates a KYC step template. The server loads the current template and applies provided fields.

REST Endpoint

PUT /manager/kyc/templates/{id}
PATCH /manager/kyc/templates/{id}

Request

{
  "command": "MngUpdateKycStepTemplate",
  "data": {
    "id": 1,
    "name": "Proof of identity",
    "status": 0,
    "form_schema": {
      "sections": []
    }
  }
}

Parameters

Name Type Required Description
id int Yes Template id
brand string No Brand namespace
code string No Stable template code
level int No KYC level
name string No Display name
description string No Description
step_type int No Step type
required int No Required flag
status int No Template status
sort_index int No UI ordering
requirements object No Requirements metadata
form_schema object No Questionnaire schema

Form Schema Validation

When form_schema is provided, it must pass the same validation as MngAddKycStepTemplate: JSON object root, optional sections array, optional section fields array, unique non-empty field names, supported field types, boolean required, and array options for select or multi_select.

Response

{
  "template": {
    "id": 1,
    "brand": "default",
    "code": "proof_id",
    "updated_time": 1778160000
  }
}