Netskope Help

Delete a User Role

This endpoint deletes a user role.

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

Valid parameters are:

Key

Type

Value

Description

op

string

delete

Required. Operation performed.

role_name

string

Ex:

admin | user | analyst

Required. Specifies role to be deleted. 

Example Delete User Role Request
POST 'https://&lt;tenant>/api/v1/role?token=token&op=delete' \
--header 'Content-Type: application/json' \
--data-raw '{
    "role_name": "Custom Netskope Role",
}