[RSS Feed/News] API Superuser VS Admin

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
Just curious:
If I create a SuperUser-API-Key, the API will not let me DELETE threads or POST to users ... unless I additionally send XF-Api-user (Administrator) with the headers.
Code:

Code:
"errors": [
        {
            "code": "do_not_have_permission",

Shouldn't the SuperUser-API-Key be enough if it has all the permissions?
If I create a Key based on an Administrator with all rights and use this, no XF-Api-user header is neccessary.

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom