Create a new rulepost https://{jfrog_url}/unifiedpolicy/api/v1/rulesCreate a new rule in the system.Recent RequestsLog in to see full request historyTimeStatusUser Agent Retrieving recent requests…LoadingLoading…Body ParamsRule input object for create/update.Foundation schema for all named resources in the system. Provides common name and description fields that all resources inherit. Used as the base for all resource payload schemas.namestringrequiredlength between 1 and 255A unique name for JFrog resources. Must be 1-255 alphanumeric characters, underscores, hyphens, and spaces.descriptionstringlength ≤ 2048A human-readable description of the resource. Optional field with a maximum length of 2048 characters. Can contain any characters.template_idstringrequiredlength between 4 and 20A Snowflake unique identifier (64-bit integer, represented as a string).parametersarray of objectslength ≤ 20Rule-specific parameter values. When template_id is provided, these must match the template parameters. All template parameters without default values must be provided.parametersADD objectResponses 201The request has succeeded. 400The request syntax was invalid or malformed, or validation failed. 401Authentication credentials are required or invalid. 403You do not have sufficient permissions to perform this action. 409The request conflicts with the current state of the resource. 500An unexpected error occurred. Please contact support.Updated about 2 months ago