Skip to content

Disable a webhook target

DELETE
/v1/webhook-targets/{target_id}
curl --request DELETE \
--url https://api.vocapable.com/v1/webhook-targets/example \
--header 'Authorization: Bearer <token>'

Disable-not-delete: the id stays attributable in transcripts and eval history.

Idempotent - deleting an already-disabled target changes nothing and answers 204, so a retried DELETE cannot fail its caller. Re-enabling is PATCH {status: active}.

target_id
required
Target Id
string

Successful Response

Validation Error

Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object
Examplegenerated
{
"detail": [
{
"loc": [
"example"
],
"msg": "example",
"type": "example",
"input": "example",
"ctx": {}
}
]
}