Modify a rule

Updates an existing rule.

Path Params
string
required

A unique identifier for the service.

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

Enterprise Access rule settings.

integer
enum
required

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

string

ISO 8601 timestamp marking the rule creation.

string | null
required

A description of the rule.

boolean
required

Whether the rule is global.

boolean
required

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.

settings
array of objects
length ≥ 1

Defined rule settings, such as rule type, operator, and value.

settings
integer
enum
required

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
LoadingLoading…
Response
Choose an example:
application/json