---
title: "Update treasury name and/or threshold"
method: PATCH
path: "/v1/treasury/{treasury_id}"
tags: ["Treasury"]
---

# Update treasury name and/or threshold

`PATCH /v1/treasury/{treasury_id}`

## Request

- Base URL: `https://api.1claw.co`
- URL: `https://api.1claw.co/v1/treasury/{treasury_id}`
- Auth: HTTP bearer

## Path parameters

- `treasury_id` string, uuid, required

## Request body

- UpdateTreasuryRequest
  - `name` string
  - `threshold` integer

## Response `200`

Treasury updated

- TreasuryResponse
  - `id` string, uuid
  - `name` string
  - `safe_address` string
  - `chain` string
  - `chain_id` integer
  - `threshold` integer
  - `created_by` string, uuid
  - `signers` TreasurySignerResponse[]
    - `id` string, uuid
    - `signer_type` 'user' | 'agent'
    - `signer_id` string, uuid
    - `signer_address` string
    - `added_at` string, date-time
  - `created_at` string, date-time

## Other responses

- `400`: Invalid request
- `404`: Resource not found

---

[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)
