Forum Discussion

Lewis_Beard's avatar
2 days ago

API v3 Python Patch on user 403 forbidden

I have some old python code (that I didnt write) that uses v1 of the API that does a patch with a super minimal patch data block, just the value needed. Personally, I have Groovy code that does some ...
  • Lewis_Beard's avatar
    17 hours ago

    I figured out the issue. I am not doing anything wrong in the code at all. The API just does NOT let me convert a user to "apionly":true ..... I can set "apionly":false all day long because it is already false.

    So even though apionly is one of the items in the model for /setting/admins/{id} for PATCH, nothing in the model on the REST API v3 Swagger documentation, on the model tab there, shows that I cant change it.

    But it isnt allowed. Oh well.