---
title: "Update authentication configuration"
method: PATCH
path: "/organization/{organization_id}/config/authentication"
tags: ["Organizations"]
---

# Update authentication configuration

`PATCH /organization/{organization_id}/config/authentication`

Update current authentication configuration for an organization.

## Path parameters

- `organization_id` string, required

## Request body

- OrganizationAuthenticationConfigUpdateRequestBody — OrganizationAuthenticationConfigUpdateRequestBody
  - `mcp_enabled` boolean — Users can use MCP clients with services and other resources they have access to in this organization.
  - `oauth_enabled` boolean — Organization users are able to use OAuth authentication.
  - `password_auth_enabled` boolean — Organization users are able to use password authentication.
  - `personal_tokens_enabled` boolean — Organization users can use their personal tokens to access the organization through the Aiven API or other applications.
  - `personal_tokens_require_allowed_auth_method` boolean — Organization users are able to use personal tokens that were generated from one of the allowed authentication methods.
  - `saml_allow_external` boolean — Organization users are able to use SAML authentication of other organizations.
  - `saml_enabled` boolean — Organization users are able to use SAML authentication.
  - `two_factor_required` boolean — 2FA is required to access resources in this organization.

## Response `200`

Response

- OrganizationAuthenticationConfigUpdateResponse — OrganizationAuthenticationConfigUpdateResponse
  - `mcp_enabled` boolean — Users can use MCP clients with services and other resources they have access to in this organization.
  - `oauth_enabled` boolean — Organization users are able to use OAuth authentication.
  - `password_auth_enabled` boolean — Organization users are able to use password authentication.
  - `personal_tokens_enabled` boolean — Organization users can use their personal tokens to access the organization through the Aiven API or other applications.
  - `personal_tokens_require_allowed_auth_method` boolean — Organization users are able to use personal tokens that were generated from one of the allowed authentication methods.
  - `saml_allow_external` boolean — Organization users are able to use SAML authentication of other organizations.
  - `saml_enabled` boolean — Organization users are able to use SAML authentication.
  - `two_factor_required` boolean — 2FA is required to access resources in this organization.

---

[API](https://skmtc.net/aiven/apis/aiven-api-documentation.md) · [All operations](https://skmtc.net/aiven/apis/aiven-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aiven/aiven-api-documentation/versions/ecaeabf1da31/schema)
