Jump to: navigation, search

DeleteUserData

This operation is part of the Facebook API section of the Web Services API.

Overview

Deletes the specified key value data from an interaction's UserData.

Request URL /api/v2/me/facebook/{id}
HTTP Method POST
Required Features api-multimedia

Parameters

Parameter Value
operationName DeleteUserData
keys The user key value data to delete.

Samples

Request

POST api/v2/me/facebook/01QG4HAN88NP400J
{
  "operationName": "DeleteUserData",
  "keys": ["UserData1"]
}

HTTP Response

{
  "statusCode": 0,
  "referenceId": 31
}

CometD Response

{
   "referenceId": 15,
   "facebook": {
       "userData": {
           "UserData2": 123456789
       },
       "uri": "http: //192.168.83.25: 8090/api/v2/facebooks/01QG4HAN88NP400J",
       "capabilities": [
           "Cancel",
           "Send",
           "AddComment",
           "AttachUserData",
           "UpdateUserData",
           "DeleteUserData",
           "SetDisposition",
           "SetInFocus",
           "Transfer"
       ],
       "state": "Composing",
       "facebookType": "Outbound",
       "id": "01QG4HAN88NP400J"
   },
   "notificationType": "PropertiesUpdated",
   "messageType": "FacebookStateChangeMessage"
}

Feedback

Comment on this article:

blog comments powered by Disqus
This page was last modified on January 22, 2016, at 11:56.