Create Policy

post/v1/policy

Request body

policy_scopestring required
policy_typestring required
warn_datestring date nullable
deny_datestring date nullable
warn_daysinteger nullable
deny_daysinteger nullable
product_namestring nullable
project_namestring nullable
cyclestring nullable
cycle_operatorstring nullable
notary_policy_jsonobject nullable

Response

Successful Response

{"stackTrail":"paths:/v1/policy:post:responses:201:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes