/role
/tes/role
/tes/role is only available in Tenable Enclave Security
Methods
Gets the list of Roles
Fields Parameter
- The fields not under * or ** can be used only by Admin or users with manageRole permission enabled.
- Logged in user can use these fields to view details for self role only.
- Org users cannot view Admin role itself but can view any other roles created by admin.
Request Parameters
None
Filter Parameters
subset - Removes subset roles from the return response.
Example Response
Adds a Role
Request Parameters
Example Response
/role/{id}
/tes/role/{id}
/tes/role/{id} is only available in Tenable Enclave Security
Methods
Gets the Role associated with {id}.
Fields Parameter
Request Parameters
None
Example Response
Admin user
Any user with manageRole permission enabled
Any user with manageRole permission disabled
Any user fetching self role
Edits the Role associated with {id}, changing only the passed in fields.
Request Parameters
(All fields are optional)
See /role::POST for parameters.
Example Response
See /role/{id}::GET
Deletes the Role associated with {id}, depending on access and permissions.
Request Parameters
None