Manage erasing data through API

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • emillod
    Active Community Member
    • Apr 2017
    • 1430

    Manage erasing data through API

    Hello Guys
    I want to create external form for my clients/leads. I want to give my clients\leads possibility to erase there names/phone numbers and etc, like i can do this through espo GUI.
    Can anyone help me with do it through API json? I just need some tips, because i do everything in form by myself, but i don't know with which entity i should connect to erase data.
  • tanya
    Senior Member
    • Jun 2014
    • 4308

    #2
    Hi,
    url api/v1/DataPrivacy/action/erase
    method POST
    params
    1. entityType:"Lead"
    2. fieldList:["emailAddress"]
    3. id:"53203b9429643"

    https://www.espocrm.com/documentation/development/api/ - general information about API

    Comment

    Working...