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.