Creating new Policy
Request
Request Body
{
"wizardConfig": {
"policy": {
"name": "Example Policy",
"description": "Policy description",
"topicDescription": "Topic description",
"policyTag": "ExampleTag"
},
"roles": ["OWNER"],
"schemas": [
{
"name": "Example Schema",
"iri": "#ExampleSchema",
"isApproveEnable": false,
"isMintSchema": false,
"mintOptions": {},
"dependencySchemaIri": null,
"relationshipsSchemaIri": null,
"initialRolesFor": [],
"rolesConfig": [
{
"role": "OWNER",
"isApprover": true,
"isCreator": true,
"fields": [],
"gridColumns": []
}
]
}
],
"trustChain": [
{
"role": "OWNER",
"mintSchemaIri": "#ExampleSchema",
"viewOnlyOwnDocuments": true
}
]
}
}Field
Type
Required
Description
Response
Success Response
Field
Type
Description
Error Responses
Status
Description
Async Variant
Last updated