# Update organization

Renames the organization or changes its default limits (auto-approve threshold, maximum per payment, approval expiry of 1 to 1440 minutes). Console session or API key with org:manage; the auto-approve limit can't exceed the maximum per payment.

`PATCH /v1/org`

Renames the organization or changes its default limits (auto-approve threshold, maximum per payment, approval expiry of 1 to 1440 minutes). Console session or API key with org:manage; the auto-approve limit can't exceed the maximum per payment.

Requires permission `org:manage`.

## Request body

```json
{
  "name": "Example",
  "default_limits": {
    "auto_threshold_base_units": "50000",
    "hard_cap_base_units": "50000",
    "approval_ttl_minutes": 1
  }
}
```

## Responses

- **200**: Success.
- **400**: Invalid request: a field is missing or malformed (VALIDATION_ERROR).
- **401**: No valid session, API key or agent credential (UNAUTHENTICATED, AGENT_CREDENTIAL_INVALID).
- **403**: Authenticated but not allowed: missing permission, passkey step-up required, or denied by policy.

Example 200 response:

```json
{
  "org": {
    "id": "id_01jd2x3k4m5n6p7q8r9s0t1v2w",
    "name": "Example",
    "slug": "string",
    "kind": "string",
    "kill_switch": true,
    "test_mode": true,
    "onboarding": {},
    "onboarding_completed_at": "2026-11-16T12:00:00Z",
    "created_at": "2026-11-16T12:00:00Z",
    "default_limits": {
      "auto_threshold_base_units": "50000",
      "hard_cap_base_units": "50000",
      "approval_ttl_minutes": 1
    },
    "kyb_status": "string",
    "kyb_simulated": true
  }
}
```
