Skip to content

update_webhook

Partially update a webhook; clear_* flags send an explicit null.

See https://docs.merofoundry.app/recipes/tool-update-webhook for the accepted keys and the clear_* semantics.

{
"additionalProperties": false,
"properties": {
"application_id": {
"title": "Application Id",
"type": "string"
},
"clear_description": {
"default": false,
"title": "Clear Description",
"type": "boolean"
},
"clear_model_id": {
"default": false,
"title": "Clear Model Id",
"type": "boolean"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Description"
},
"events": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Events"
},
"headers": {
"anyOf": [
{
"additionalProperties": {
"type": "string"
},
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Headers"
},
"is_active": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"title": "Is Active"
},
"model_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Model Id"
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Name"
},
"retry_policy": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Retry Policy"
},
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Url"
},
"webhook_id": {
"title": "Webhook Id",
"type": "string"
}
},
"required": [
"application_id",
"webhook_id"
],
"title": "update_webhookArguments",
"type": "object"
}
{
"properties": {
"applicationId": {
"format": "uuid",
"title": "Applicationid",
"type": "string"
},
"createdAt": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"title": "Createdat"
},
"createdBy": {
"format": "uuid",
"title": "Createdby",
"type": "string"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Description"
},
"events": {
"items": {
"type": "string"
},
"title": "Events",
"type": "array"
},
"headers": {
"additionalProperties": {
"type": "string"
},
"title": "Headers",
"type": "object"
},
"id": {
"format": "uuid",
"title": "Id",
"type": "string"
},
"isActive": {
"title": "Isactive",
"type": "boolean"
},
"modelId": {
"anyOf": [
{
"format": "uuid",
"type": "string"
},
{
"type": "null"
}
],
"title": "Modelid"
},
"name": {
"title": "Name",
"type": "string"
},
"retryPolicy": {
"additionalProperties": true,
"title": "Retrypolicy",
"type": "object"
},
"secret": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Secret"
},
"updatedAt": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"title": "Updatedat"
},
"url": {
"title": "Url",
"type": "string"
}
},
"required": [
"id",
"applicationId",
"name",
"url",
"events",
"headers",
"isActive",
"retryPolicy",
"createdBy"
],
"title": "PublicWebhookResponse",
"type": "object"
}