Permissions

(i.e., Asset Management, User Accounts Management, Scan Management, etc.)

Quick Navigation

GET Permissions

Returns a list of permissions.

User Accounts Management (Read).

None.

Content-Type: application/json

[
    {
        PermissionID : int,
        Name : string
    },
    …
]

Response Codes

200 – Request successful. Permissions in the response body.

For more information, please see Common Response Codes.

User Group Permissions

GET UserGroups/{userGroupID}/Permissions

Gets all permissions for the user group referenced by ID.

User Accounts Management (Read).

userGroupId: ID of the user group.

None.

Content-Type: application/json

[
    {
        PermissionID : int,
        AccessLevelID : int
    },
…]

200 – Request successful. Permissions in the response body.

For more information, please see Common Response Codes.

POST UserGroups/{userGroupId}/Permissions

Sets permissions for the user group referenced by ID.

User Accounts Management (Read/Write).

Adding the Team Passwords feature/permission to a user group requires the caller to be an administrator.

userGroupId: ID of the user group.

Content-Type: application/json

[
    {
        PermissionID : int,
        AccessLevelID : int
    },
    …
]

None.

204 – Request successful. No content in body.

For more information, please see Common Response Codes.

DELETE UserGroups/{userGroupId}/Permissions

Deletes all permissions for the user group referenced by ID.

User Accounts Management (Read/Write).

Removing the Team Passwords feature/permission from a user group requires the caller to be an administrator.

userGroupId: ID of the user group.

None.

None.

200 – Request successful.

For more information, please see Common Response Codes.