Delete attempt as admin: SOAP-ENV:Server.InsufficientPermissionsException

I'm working on a local system.

I can add and edit users... So, POST and PATCH are working. I go to delete the same user I just edited, but am getting:

// DELETE 'http://localhost/InnovatorServer12/server/odata/User('30B991F927274FA3829655F50C99472E')
{ "error": { "code": "SOAP-ENV:Server.InsufficientPermissionsException", "message": "You have insufficient permissions to perform 'delete' operation." } }

Why? How to fix this?

  • Hi Neil,

    I just saw that you figured this out in your response to this blog and wanted to leave the answer here as well in case anyone stumbles across this post in the future.

    It seems you were trying to delete the user, admin, that you were currently signed in as which was causing this error. I'm glad to hear you got this figured out. :) If you have any future questions about working with the RESTful API or Innovator in general, please post them in the forums to reach the widest audience.

    Chris

    Christopher Gilis

    Aras Labs Software Engineer