GladysDevelopers

Update a webhook endpoint

Choose a TEST app to send requests from the playground.
patch/webhook-endpoints/{id}

Authorization

BearerAuth
headerAuthorizationBearer <token>

An access token from POST /oauth/token: client_credentials for your own app, or authorization_code for a user who connected it.

Path Parameters

id*string

Endpoint ID

Request Body

Changes

application/json
  1. body
description?string
events?array<string>
is_active?boolean
url?string

Response Body

OK

application/json
  1. response
data?
error?
message?string
meta?
success?boolean
curl -X PATCH "https://example.com/webhook-endpoints/string" \  -H "Content-Type: application/json" \  -d '{}'
{  "error": {    "code": "string",    "details": {      "property1": "string",      "property2": "string"    },    "message": "string"  },  "message": "string",  "meta": {    "pagination": {      "next_cursor": "string",      "page": 0,      "per_page": 0,      "total_items": 0,      "total_pages": 0    }  },  "success": true,  "data": {    "client_id": "string",    "created_at": "string",    "description": "string",    "environment": "LIVE",    "events": [      "string"    ],    "id": "string",    "is_active": true,    "secret": "string",    "updated_at": "string",    "url": "string"  }}