11.4.2.6 Update Credential Template


Function name updateCpt(RegisterCpt registerCpt)
Description The issuer updates the content of its own registered credential templates. The credential template ID cannot be updated.
Method call parameters
No. Parameter Type Required Description
1 RegisterCpt Y
RegisterCpt
1 did String Y DID
2 privateKey String Y Private key
3 cptJsonSchema Map<String, JsonSchema> Y JsonSchema for Credential template
4 title String Y Title
5 description String Y Description
6 type String Y Credential Type, fill in proof
7 cptId Long Y Credential template ID
JsonSchema
1 type String Y Type
2 description String Y Description
3 required Boolean Y true:required;false:optional
Method return parameters
No. Parameter Type Required Description
1 CptBaseInfo Y Update result, basic information of credential template
CptBaseInfo
No. Parameter Type Required Description
1 cptId Long Y Credential template ID
2 cptVersion Integer Y Credential template Version
© 2019-2021 Red Date (Hong Kong) Technology Limited. all right reserved,powered by GitbookFile Modify: 2021-10-31 22:02:18

results matching ""

    No results matching ""

    results matching ""

      No results matching ""