---
title: "Update API user callback handler"
method: PATCH
path: "/cosigners/{cosignerId}/api_users/{apiUserId}"
tags: ["Cosigners"]
---

# Update API user callback handler

`PATCH /cosigners/{cosignerId}/api_users/{apiUserId}`

## Request

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

Update the callback handler of an API user
Endpoint Permission: Admin and Non-Signing Admin.

## Path parameters

- `cosignerId` string, uuid, required
- `apiUserId` string, required

## Request body

- UpdateCallbackHandlerRequest
  - `callbackHandler` CallbackHandlerRequest
    - `url` string, required: The callback handler's URL
    - `publicKey` string: The callback handler's public key
    - `cert` string: The callback handler's certificate

## Response `202`

The API user object with the new callback handler

- UpdateCallbackHandlerResponse
  - `id` string, uuid, required: The unique identifier of the API key
  - `callbackHandler` CallbackHandlerRequest
    - `url` string, required: The callback handler's URL
    - `publicKey` string: The callback handler's public key
    - `cert` string: The callback handler's certificate

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