PUT
/
custom-rule-types
/
{id}
Update a custom rule type
curl --request PUT \
  --url https://{FUSION HOST}/api/custom-rule-types/{id} \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "id": "<string>",
  "display_type": "<string>",
  "pipeline_id": "<string>",
  "schema": {}
}'
{
  "id": "<string>",
  "display_type": "<string>",
  "pipeline_id": "<string>",
  "schema": {}
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Headers

ifMatch
object

An optional tag to match.

Path Parameters

id
string
required

The custom rule type ID.

Query Parameters

context
string

The app to which this object belongs, as app:SomeApp.

Body

application/json
id
string

The custom rule type ID.

display_type
string

A user-friendly name for the custom rule type.

pipeline_id
string

The ID of the pipeline that is invoked during rule processing.

schema
object

Represents a structured object type definition used in the Experience Manager.

Response

200 - application/json

OK

id
string

The custom rule type ID.

display_type
string

A user-friendly name for the custom rule type.

pipeline_id
string

The ID of the pipeline that is invoked during rule processing.

schema
object

Represents a structured object type definition used in the Experience Manager.