v2

latestOpenAPI 3.1.02026-07-312303692.4 MB
Endpoint

Patch Endpoint Transformation

Set or unset the transformation code associated with this endpoint.

patch/api/v1/app/{app_id}/endpoint/{endpoint_id}/transformation

Path parameters

app_idstring required

The Application's ID or UID.

Example:unique-identifier

The Application's ID or UID.

endpoint_idstring required

The Endpoint's ID or UID.

Example:unique-identifier

The Endpoint's ID or UID.

Request body

codestring nullable
enabledboolean
variablesobject nullable

Example request

{
  "code": "function handler(webhook) { /* ... */ }"
}

Response

no content