Validation Rules

removeUsedByReference

Changed on

Removes a specific used_by reference from an existing validation rule.

Use this endpoint when detaching a validation rule from a journey block or entity attribute.

delete/v1/validation-rules/{ruleId}/used-by

Request

  • Base URL
    https://validation-rules.sls.epilot.io
  • URL
    https://validation-rules.sls.epilot.io/v1/validation-rules/{ruleId}/used-by
  • Auth
    HTTP bearer

Path parameters

ruleIdstring required

The unique identifier of the validation rule to update.

Request body

type'journey' | 'entity' required

The context in which the rule is used - either a journey block or an entity schema attribute.

schema_slugstring

Slug of the entity schema using this rule. Only applicable when type is entity.

source_idstring

Unique identifier of the source (e.g. journey ID or entity attribute key) that references this rule.

Example request

{
  "type": "journey",
  "source_id": "journey-xyz789"
}

Response

Success

titlestring required

Title of the validation rule.

placeholderstring

Placeholder for the validation rule.

_schema_versionstring required

Schema version of the validation rule.

_idstring required

Unique identifier for the validation rule.

_organization_idstring required

Organization ID that owns this rule.

created_atstring required

ISO timestamp when the rule was created.

updated_atstring required

ISO timestamp when the rule was last updated.

created_bystring required

User ID of the creator.

updated_bystring required

User ID of the last updater.

Changes

    • info

      added the optional property ////////////////////// to the response with the status

    • info

      added the optional property /////////////////////////// to the response with the status

    • info

      added the optional property ///////////////// to the response with the status

    • info

      added the optional property //////////////////////////////// to the response with the status

    • info

      added the optional property ////////////////////// to the response with the status

    • info

      added the optional property /////////////////////////////// to the response with the status

    • info

      added the optional property /////////////////////////////// to the response with the status

    • info

      added the optional property //////////////////////////////// to the response with the status

    • info

      added the optional property ////////////////////// to the response with the status

    • info

      added the optional property /////////////////////////////// to the response with the status

    • info

      added the optional property /////////////////////////////// to the response with the status

    • info

      added the optional property ////////////////////////// to the response with the status

    • info

      added the optional property ////////////////////////// to the response with the status

    • info

      added the optional property //////////////////////////////// to the response with the status

    • info

      added the optional property ////////////////////// to the response with the status

    • info

      added the optional property /////////////////////////////// to the response with the status

    • info

      added the optional property /////////////////////////////// to the response with the status

    • info

      added the optional property //////////////////////////////// to the response with the status

    • info

      added the optional property ////////////////////// to the response with the status

    • info

      added the optional property /////////////////////////////// to the response with the status

    • info

      added the optional property /////////////////////////////// to the response with the status

    • breaking

      added to the ///////////////// response property oneOf list for the response status

    • breaking

      added to the //////////// response property oneOf list for the response status

    • breaking

      added to the ////////////////////// response property oneOf list for the response status

    • breaking

      added to the ///////////////// response property oneOf list for the response status

    • breaking

      added to the /////////////////////////// response property oneOf list for the response status

    • breaking

      added to the ////////////////////////// response property oneOf list for the response status

    • breaking

      added to the ///////////////// response property oneOf list for the response status

    • breaking

      added to the /////////////////////////// response property oneOf list for the response status

    • breaking

      added to the ////////////////////////// response property oneOf list for the response status

    • breaking

      added to the ///////////////////// response property oneOf list for the response status

    • breaking

      added to the ///////////////// response property oneOf list for the response status

    • breaking

      added to the /////////////////////////// response property oneOf list for the response status

    • breaking

      added to the ////////////////////////// response property oneOf list for the response status

    • breaking

      added to the ///////////////// response property oneOf list for the response status

    • breaking

      added to the /////////////////////////// response property oneOf list for the response status

    • breaking

      added to the ////////////////////////// response property oneOf list for the response status

    • breaking

      added subschema #1 to the ////////////////////// response property oneOf list for the response status

    • breaking

      added subschema #1 to the ////////////////////// response property oneOf list for the response status

    • breaking

      added subschema #1 to the ///////////////// response property oneOf list for the response status

    • breaking

      added subschema #1 to the ////////////////////// response property oneOf list for the response status

    • breaking

      added subschema #1 to the ////////////////////// response property oneOf list for the response status

    • breaking

      the ////////////////////// response's property type changed from string to no type for status

    • breaking

      the ////////////////////// response's property type changed from string to no type for status

    • breaking

      the ///////////////// response's property type changed from string to no type for status

    • breaking

      the ////////////////////// response's property type changed from string to no type for status

    • breaking

      the ////////////////////// response's property type changed from string to no type for status

    • info

      removed the today enum value from the ////////////////////// response property for the response status

    • info

      removed the today enum value from the ////////////////////// response property for the response status

    • info

      removed the today enum value from the ///////////////// response property for the response status

    • info

      removed the today enum value from the ////////////////////// response property for the response status

    • info

      removed the today enum value from the ////////////////////// response property for the response status