---
title: "Update Saml Settings"
method: PATCH
path: "/settings/saml"
tags: ["settings"]
---

# Update Saml Settings

`PATCH /settings/saml`

## Request

- Base URL: `https://platform.tracecat.com/api`
- URL: `https://platform.tracecat.com/api/settings/saml`
- Auth: API key in cookie `fastapiusersauth`

## Request body

- SAMLSettingsUpdate
  - `saml_enabled` boolean: Whether SAML is enabled.
  - `saml_enforced` boolean: Whether SAML is enforced. If true, users can only use SAML to authenticate. Requires SAML to be enabled.
  - `saml_idp_metadata_url` string, nullable

## Response `204`

Successful Response

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/tracecat/apis/tracecat-api.md) - [All operations](https://skmtc.dev/tracecat/apis/tracecat-api/llms.txt) - [OpenAPI document](https://skmtc.dev/tracecat/apis/tracecat-api/revisions/2efdda25045f?raw)
