Ad Widget

Collapse

API delete.trigger

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • gcarella
    Junior Member
    • Feb 2012
    • 1

    #1

    API delete.trigger

    Dear all,

    I'm trying to use the API for deleting triggers. Every time I try to delete a trigger I receive an error: No Permissions! The thing is that the user is the administrator and has all the permissions to read and write through the API.

    This is the request:

    {"params": ["13550"], "jsonrpc": "2.0", "method": "trigger.delete", "auth": "e3dd9001b9b5a96f8af46d360d87df32", "id": 2}

    and this is the response:

    {u'jsonrpc': u'2.0', u'id': 2, u'error': {u'message': u'Invalid params.', u'code': -32602, u'data': u'[ CTrigger::delete ] No permissions !'}}

    I'm using the python client to send this request, and my server is the 1.8.3 version.

    Thank you in advance for your help.

    Giuseppe
Working...