oneAI icon

oneAI

Interact with the oneAI API

Compliance Pattern → Set Enabled

AI-generated

Summary

Enable or disable a specific compliance pattern identified by its Pattern ID for your organization.

Inputs

  • Pattern ID (required) — The unique identifier of the compliance pattern (default or custom) to enable or disable.
  • Enabled — Boolean flag indicating whether the specified compliance pattern should be enabled (true) or disabled (false) for your organization.

Output shape

a single JSON object containing information about the updated compliance pattern's enabled status.

The operation returns the updated compliance pattern details reflecting the new enabled state. There are no pagination or multiple items returned.

Examples

Example 1: Enable a compliance pattern

Set 'Pattern ID' to the target pattern's ID and 'Enabled' to true to activate it.

Example 2: Disable a compliance pattern

Set 'Pattern ID' to the target pattern's ID and 'Enabled' to false to deactivate it.

Links

Discussion