/permission/:sectionId

Update Section Permissions

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Updates the permissions for the section provided, for both people and organisations. This includes moving the user's permission levels up or down or removing the user entirely. This is used when a permission change has happened within the Change Permission modal window, accessed through the Side Menu.

  • Level Enum Values:

    • Excluded = -2

    • None = -1

    • Any = 0

    • SectionReader = 1

    • SectionAuthor = 2

    • SectionApprovedAuthor = 3

    • SectionAdministrator = 4

    • ModuleUser = 10

    • ModuleAuthor = 11

    • ModuleApprover = 12

    • ModuleBooker = 13

    • ModuleManager = 14

    • ModuleAdministrator = 15

    • HomepageManager = 20

    • SiteAdmin = 30

    • PowerUser = 999

  • **Request Body: This updates any level changes (enums detailed above) for each section by using the sectionId.

  •     {
            "Changed": [
                {
                    "ID": "-1",
                    "Type": "Organisation",
                    "Level": "-2"
                },
                {
                    "ID": "269",
                    "Type": "Person",
                    "Level": "2"
                },
                {
                    "ID": "275",
                    "Type": "Person",
                    "Level": "2"
                }
            ],
            "Removed": [
                {
                    "ID": "274",
                    "Type": "Person"
                }
            ]
        }
    		
Path Params
integer
required
Response

Language
Credentials
Basic
base64
:
LoadingLoading…
Response
Choose an example:
application/json