Skip to main content
m0lari
New Member
October 31, 2017
Question

JSON API only GET is working

Hello there

 

I am currently playing arround with the JSON API and so far i can query various things flawlessly. However, as soon as i try to set, add or update i get an error message:

 

{
  "result": [
    {
      "url": "/dvmdb/adom/xxx/script/",
      "status": {
        "message": "No permission for the resource",
        "code": -11
      }
    }
  ],
  "id": 1

 

rpc permissions for user is set to read/write, also user is member of the superuser group.

 

Can anyone give a hint where this problem is coming from?

 

Thanks in advance

 

Petr

    1 reply

    mscheiber
    New Member
    April 6, 2018

    Hi

     

    try to ssh to the FAZ and 

     

    config sys admin user

    edit admin or your specific user

    set rpc-permit read-write

    end

     

    logout and logon again.

    regards

    Thought Leadership. Security Summit. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
    Security Operations Summit: Modernize SecOps. Operate AI-Native.AMER: November 4 | 9:00 AM PST. India and SAARC: November 5 | 10:00 AM IST. EMEA: November 5 | 10:30 AM CET. APAC: November 5 | 11:00 AM SGT