---
title: "Editar Webhook cadastrado"
method: PUT
path: "/webhook/subscription/{entity}"
---

# Editar Webhook cadastrado

`PUT /webhook/subscription/{entity}`

## Request

- Base URL: `https://sandbox.openfinance.celcoin.dev/baas/v2`
- URL: `https://sandbox.openfinance.celcoin.dev/baas/v2/webhook/subscription/{entity}`
- Auth: OAuth 2

Confira nosso tutorial -> https://developers.celcoin.com.br/docs/gerenciamento-de-webhook

## Path parameters

- `entity` string, required

## Request body

- object
  - `webhookUrl` string, required: Rota do Webhook.
  - `auth` object
    - `login` string
    - `pwd` string
    - `type` string
  - `active` boolean: Esta ativo ou nao. true
  - `subscriptionId` string, required: Identificador único do webhook cadastrado.

## Response `200`

200

- object
  - `version` string
  - `status` string

## Other responses

- `400`: 400
- `401`: 401
- `500`: 500

---

[API](https://skmtc.dev/celcoin/apis/baas-v2.md) - [All operations](https://skmtc.dev/celcoin/apis/baas-v2/llms.txt) - [OpenAPI document](https://skmtc.dev/celcoin/apis/baas-v2/revisions/98ec6869c1f2?raw)
