HTTP 403 error "Forbidden" on a write request

Symptom

A POST, PUT, or DELETE REST request returns response code 403 and the response body contains the following text string:

Forbidden

Cause

The user attempting the request is not a member of theadministratorsgroup.

行动

  1. Log in to the REST API with a user name that has administrator rights as part of theadministratorsgroup.

    用户必须是预定义的一员administratorsgroup. POST requests to theloginresource fail for members of a user-defined local user group.