---
title: "Rename cosigner"
method: PATCH
path: "/cosigners/{cosignerId}"
tags: ["Cosigners"]
---

# Rename cosigner

`PATCH /cosigners/{cosignerId}`

## Request

- Base URL: `https://api.fireblocks.io/v1`
- URL: `https://api.fireblocks.io/v1/cosigners/{cosignerId}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/fireblocks/apis/fireblocks-api/docs/cosigners/:cosignerId/patch.ts> (a function with typed inputs; its response is checked against the schema)

Rename a cosigner by ID.
Endpoint Permission: Admin and Non-Signing Admin.

## Path parameters

- `cosignerId` string, uuid, required

## Request body

- RenameCosigner
  - `name` string: The new name of the cosigner

## Response `200`

A cosigner object

- Cosigner
  - `archived` boolean, required: Whether the cosigner is archived
  - `id` string, uuid, required: The unique identifier of the cosigner
  - `name` string: The name of the cosigner
  - `type` 'SANDBOX' | 'SGX' | 'GCP-CONFSPACE' | 'AWS-NITRO' | 'PLAIN': The type of the cosigner
  - `version` VersionSummary
    - `hash` string, required: The version hash of the cosigner
    - `name` string: The name of the version

## Other responses

- `default`: Error Response

---

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