Forum Discussion

tmedernach's avatar
14 years ago

REST API - Super User Priviledges

Hi,

 

I'm trying to use the REST API to add blog posts with specific post dates following the REAT API Javadoc 9.20.

 

When I don't add a creation date, it works fine, when I do I get the following error message

 

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<response status="error">
  <error code="303">
    <message>Super-user privileges are required for this action.</message>
  </error>
</response>

 

The user i use to create the SSO session is an administrator with full rights on the community as well as an author and moderator for the blog in question.

 

The Javadoc does not mention anything about this.

 

How do I get these Super-User Priviledges?

 

Thanks for your help

 

Tommy Medernach

1 Reply

  • I am still pretty new to this stuff and have no idea if this is the issue, but...

    In talking with our CSM he mentioned RESTADMIN. So instead of calling rest("/users/id/"... try restadmin("/users/id/"...

    But be careful as restadmin may allow users to do things they can't normally do because they have special powers.