policy
Creates a new policy
post/policy
Request body
Example request
{
"packageName": "@lit-protocol/vincent-policy-spending-limit",
"activeVersion": "1.0.0",
"title": "Vincent Spending Limit Policy",
"description": "This policy is a foo bar policy"
}Response
Successful operation
Example response
{
"packageName": "@lit-protocol/vincent-policy-spending-limit",
"authorWalletAddress": "0x123456789012345678901234567890123456abcd",
"description": "This policy is a foo bar policy",
"activeVersion": "1.0.0",
"title": "Vincent Spending Limit Policy"
}