How do I use IdentitySync to delete accounts?
235 Views 1 Helpful

Question

How do I use IdentitySync to delete accounts?

Product

  • IdentitySync

Answer

IdentitySync[1] can be used to delete accounts. The below template can be used to select a number of records to be deleted from your Gigya data store. The template needs to be updated replacing <insert-filter-here> with the query matching the records that you want to destory.

{

 "steps": [

  {

   "id": "account",

   "type": "datasource.read.gigya.account",

   "params": {

    "select": "UID",

    "where": "<insert-filter-here>",

    "batchSize": 300,

    "from": "accounts",

    "deltaField": "lastUpdatedTimestamp",

    "maxConcurrency": 1

   },

   "next": [

    "gigya.generic"

   ]

  },

  {

   "id": "gigya.generic",

   "type": "datasource.write.gigya.generic",

   "params": {

    "apiMethod": "accounts.deleteAccount",

    "maxConnections": 1,

    "apiParams": [

     {

      "sourceField": "UID",

      "value": "",

      "paramName": "UID"

     }

    ],

    "addResponse": false

   }

  }

 ]

}

Links

[1]: https://developers.gigya.com/display/GD/IdentitySync

Was this article helpful?