Create a custom rule set

This operation creates a custom rule set. Custom rules offer detailed control and conditional logic to process requests to your application or service, overriding default settings when specified. Use the environment version's ruleSetOrder array to manage how rule sets execute.

Path Params
string
required

Name of the workspace that unifies all resources for your application or service. You can rename the workspace with a separate operation after you initially create the resource.

string
required

Name of the environment, unique within a workspace. You can't modify it after you initially create it with a POST request.

Query Params
string

For customers who manage more than one account, this runs the operation from another account. The Identity and Access Management API provides a list of available account switch keys.

Body Params
additionalGroupIds
array of strings
length ≥ 0

Additional groups provide a mechanism for cross-team collaboration. You can create these groups in Identity and Access Management to grant fine-grained, functional access to secondary teams. These teams can then interact with, view, or test specific components, such as individual environments or rule sets, without owning the underlying infrastructure.

additionalGroupIds
string
string
string
^[a-z][a-z0-9_-]+$

Write-once Name of your custom rule set, unique within an environment and workspace. You can't modify it after you initially create it with a POST request.

tags
array of strings

Keywords that describe resources, making filtering, searching, and discovery more efficient.

tags
Response

Language
URL
LoadingLoading…
Response
Choose an example:
application/json