---
title: "Changes to Replace a workspace's guardrail rules"
method: PUT
path: "/workspaces/{workspace_id}/guardrails/rules"
---

# Changes to Replace a workspace's guardrail rules

`PUT /workspaces/{workspace_id}/guardrails/rules`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 4 of 42 revisions.

- **2026-10-19** `b602223aa51f`: 6 info
- **2026-10-17** `91ff383fb7f9`: 1 warning
- **2026-10-16** `ea5e6f26b08d`: 1 warning
- **2026-10-15** `4e32d22292af`: 1 info

## Changes

- **2026-10-19** `b602223aa51f`: 6 info
  - added the optional property `guardrail/allOf[#/components/schemas/GuardrailRefusal]/approval` to the response with the `400` status
  - added the optional property `guardrail/allOf[#/components/schemas/GuardrailRefusal]/approval` to the response with the `401` status
  - added the optional property `guardrail/allOf[#/components/schemas/GuardrailRefusal]/approval` to the response with the `403` status
  - added the optional property `guardrail/allOf[#/components/schemas/GuardrailRefusal]/approval` to the response with the `412` status
  - added the optional property `guardrail/allOf[#/components/schemas/GuardrailRefusal]/approval` to the response with the `428` status
  - added the optional property `guardrail/allOf[#/components/schemas/GuardrailRefusal]/approval` to the response with the `default` status
- **2026-10-17** `91ff383fb7f9`: 1 warning
  - added the new `external_agent` enum value to the `agent_type_ceilings/items/agent_type/allOf[#/components/schemas/AgentType]/` response property for the response status `200`
- **2026-10-16** `ea5e6f26b08d`: 1 warning
  - added the new `exploratory_qa` enum value to the `agent_type_ceilings/items/agent_type/allOf[#/components/schemas/AgentType]/` response property for the response status `200`
- **2026-10-15** `4e32d22292af`: 1 info
  - endpoint added

---

[Operation](https://skmtc.dev/mabl/apis/mabl-api/docs/workspaces/:workspace_id/guardrails/rules/put.md) · [API](https://skmtc.dev/mabl/apis/mabl-api.md) · [Page](https://skmtc.dev/mabl/apis/mabl-api/changes/workspaces/:workspace_id/guardrails/rules/put)
