---
title: "Update org credential recovery policy"
method: PATCH
path: "/v1/org/credential-recovery-policy"
tags: ["Credential Recovery"]
---

# Update org credential recovery policy

`PATCH /v1/org/credential-recovery-policy`

## Request

- Base URL: `https://api.1claw.co`
- URL: `https://api.1claw.co/v1/org/credential-recovery-policy`
- Auth: HTTP bearer

## Request body

- CredentialRecoveryPolicyRequest
  - `enabled` boolean
  - `require_admin_approval` boolean
  - `delay_hours` integer
  - `allowed_types` string[]

## Response `200`

Policy updated

- CredentialRecoveryPolicyResponse
  - `enabled` boolean
  - `require_admin_approval` boolean
  - `delay_hours` integer: Waiting period before recovery takes effect
  - `allowed_types` string[]

## Other responses

- `400`: Invalid request
- `401`: Authentication required or invalid
- `403`: Insufficient permissions

---

[API](https://skmtc.dev/1claw/apis/1claw-api.md) · [All operations](https://skmtc.dev/1claw/apis/1claw-api/llms.txt) · [OpenAPI document](https://skmtc.dev/1claw/apis/1claw-api/revisions/5fa0918f3b41?raw)
