Create a new rule

Create a new rule in the system.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

Rule input object for create/update.

Rule data for create and update operations.
Contains the rule configuration without system-managed fields.

When creating a rule from a template:

  • template_id must be provided
  • rule parameters must match the template parameters
  • all template parameters must be provided

string
required
length between 1 and 225
^[a-zA-Z0-9_ -]*$

A unique name for JFrog resources.
Must be 1-225 alphanumeric characters, underscores, hyphens, and spaces.

string
length ≤ 2048

A human-readable description of the resource.
Optional field with a maximum length of 2048 characters. Can contain any characters.

string
required
length between 4 and 20
^[0-9]*$

A Snowflake unique identifier (64-bit integer, represented as a string).

parameters
array of objects
length ≤ 20

Rule-specific parameter values.
When template_id is provided, these must match the template parameters.
All template parameters without default values must be provided.

parameters
Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json