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 |
|
accountId |
|
productToken |
|
whatsAppGatewayType |
|
whatsAppNumber |
|
active |
|
traceIncoming |
|
traceOutgoing |
|
traces |
|
phoneLine |
|
xelionAuthToken |
|
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"
}
]
}