Update WhatsApp Gateway


This request edits the attributes of a WhatsApp gateway.

Resource

PATCH /whatsappgateways/<OID>

Where OID is the object ID of the WhatsApp Gateway.

Parameters

None

Payload

Fields

Name Patch Operations

commonName

replace

accountId

replace

productToken

replace

whatsAppGatewayType

replace

whatsAppNumber

replace

active

replace

traceIncoming

replace

traceOutgoing

replace

traces

add|remove

phoneLine

replace

xelionAuthToken

replace

Response

None

Context

Authorization

Administration

Errors

Example

Request
PATCH https://xelion.nl/api/v1/master/whatsappgateways/2064397
Payload
{
    "operations": [
        {
            "op": "replace",
            "path": "/xelionAuthToken",
            "value": "12345"
        },
        {
            "op": "replace",
            "path": "/productToken",
            "value": "12345"
        }
    ]
}