Netskope Help

List User Roles

This endpoint lists all user roles.

Request Endpoint
https://<tenant-name>.goskope.com/api/v1/role?token=<token>&op=list

Valid parameters are:

Key

Type

Value

Description

op

string

list

Required. Operation performed.

type

string

custom | predefined

Optional. Specifies type of role to be listed. Default is all types.

Example List User Roles Request
POST 'https://&lt;tenant>/api/v1/role?token=token&op=list' \
--header 'Content-Type: application/json' \
--data-raw '{
    "type": "custom",
}