---
title: "Update Login Method"
method: PATCH
path: "/api/companies/{company_uuid}/login-method"
tags: ["company-login-method"]
---

# Update Login Method

`PATCH /api/companies/{company_uuid}/login-method`

## Request

- Base URL: `https://api.regdoor.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.regdoor.com/api/companies/{company_uuid}/login-method`
- Auth: HTTP bearer

## Path parameters

- `company_uuid` string, uuid, required

## Request body

- LoginMethodAdminUpdateRequest
  - `method` 'password' | 'google' | 'okta', required
  - `display_name` string, nullable
  - `cognito_idp_name` string, nullable
  - `login_domain` string, nullable
  - `allow_unregistered_access` boolean

## Response `200`

Successful Response

- LoginMethodAdminResponse
  - `method` 'password' | 'google' | 'okta', required
  - `display_name` string, nullable
  - `cognito_idp_name` string, nullable
  - `login_domain` string, nullable
  - `allow_unregistered_access` boolean

## Other responses

- `422`: Validation Error

---

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