Skip to main content
PATCH
/
webhooks
/
v1
/
endpoints
/
{id}
Update webhook endpoint
curl --request PATCH \
  --url https://api.case.dev/webhooks/v1/endpoints/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "url": "<string>",
  "description": "<string>",
  "eventTypeFilters": [
    "<string>"
  ],
  "resourceScopes": {
    "vaultIds": [
      "<string>"
    ],
    "matterIds": [
      "<string>"
    ]
  },
  "status": "active"
}
'

Authorizations

Authorization
string
header
required

API key starting with sk_case_

Path Parameters

id
string
required

Body

application/json
url
string<uri>
description
string | null
eventTypeFilters
string[]
resourceScopes
object
status
enum<string>
Available options:
active,
disabled

Response

Updated endpoint