policy
Creates a new policy
post/policy
Request body
Example request
{
"packageName": "@vincent/foo-bar-policy",
"policyTitle": "The Greatest Foo Bar Policy",
"description": "This policy is a foo bar policy",
"version": "1.0.0"
}Response
Successful operation
Example response
{
"packageName": "@vincent/foo-bar-policy",
"authorWalletAddress": "0xa723407AdB396a55aCd843D276daEa0d787F8db5",
"description": "This policy is a foo bar policy",
"activeVersion": "1.0.0"
}