> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Update Organization IAC Settings

Update the Infrastructure as Code Settings for an org.

## Parameters

<div className="integrations-table">
  | Parameter                        | Description                                                                  |
  | -------------------------------- | ---------------------------------------------------------------------------- |
  | Custom Rules Inherit From Parent | Which parent to inherit settings from.                                       |
  | Custom Rules Is Enabled          | Whether the custom rules feature is enabled or not.                          |
  | Custom Rules OCI Registry Tag    | The tag for an OCI artifact inside an OCI registry.                          |
  | Custom Rules OCI Registry URL    | The URL to an OCI registry.                                                  |
  | Organization ID                  | The id of the org whose Infrastructure as Code settings are getting updated. |
</div>

## Example Output

```json theme={"dark"}
{
	"data": {
		"attributes": {
			"custom_rules": {
				"is_enabled": true,
				"oci_registry_tag": "latest",
				"oci_registry_url": "https://registry-1.docker.io/account/bundle"
			},
			"updated": "2021-11-12T10:31:06.026Z"
		},
		"id": "ea536a06-0566-40ca-b96b-155568aa2027",
		"type": "iac_settings"
	},
	"jsonapi": {
		"version": "1.0"
	},
	"links": {
		"first": "https://example.com/api/resource",
		"last": "https://example.com/api/resource",
		"next": "https://example.com/api/resource",
		"prev": "https://example.com/api/resource",
		"related": "https://example.com/api/resource",
		"self": "https://example.com/api/resource"
	}
}
```

## Workflow Library Example

[Update Organization Iac Settings with Snyk and Send Results Via Email](https://library.blinkops.com/workflows/update-organization-iac-settings-with-snyk-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/update-organization-iac-settings-with-snyk-and-send-results-via-email/canvas" />
</div>
