Create a rule

Creates a new rule.

Query Params
string
required

The Akamai contract identifier for your Enterprise Application Access product.

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
integer
enum

The action the rule takes. Refer to Rule types & actions for available values.

string

ISO 8601 timestamp marking the rule creation.

string | null

A description of the rule.

boolean

Whether the rule is global.

boolean

Whether to merge global rules.

string | null

ISO 8601 timestamp marking the last rule modification.

string
required
length ≥ 1

The rule name.

string

The unique partner ID.

string

The unique partner URI.

resource_uri
object

A plural bundle of navigable hypermedia links to other API resources.

integer
enum
required

The rule type. Refer to Rule types & actions for available values.

Allowed:
string

The unique service ID.

integer
enum

The rule status. Either 0 for disabled or 1 for enabled.

Allowed:
string

The unique ID of the tenant.

string
length ≥ 1

Unique URL for the rule.

Response

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