public. Modify or add a role
| Name | Type | Description |
| roleid | string | either an integer role ID or "=" followed by a double uri-encoded role name |
| Name | Type | Description |
| authenticate | bool? | Force authentication for request (default: false) |
| Name | Value | Description |
| BadRequest | 400 | Invalid input parameter or request body |
| Forbidden | 403 | Administrator access is required |
| NotFound | 404 | Requested role could not be found |
| Ok | 200 | The request completed successfully |
Input:
<permissions>
<operations>{text}</operations>
</permissions>
Output:
<permissions>
<operations mask="{int}">{text}</operations>
<role id="{int}" href="{uri}">{text}</role>
</permissions>
Use GET:site/operations to retrieve a list of all operations currently defined on the site.
| Images 0 | ||
|---|---|---|
| No images to display in the gallery. |
Copyright © 2011 MindTouch, Inc. Powered by