Delete a User Role
This endpoint deletes a user role.
https://<tenant-name>.goskope.com/api/v1/role?op=delete
Valid parameters are:
Key | Type | Value | Description |
---|---|---|---|
| string | Ex:
| Required. The token obtained from the REST API page in the Netskope UI ( Settings > Tools > Rest API v1) is required. We recommend that you place the token in the body of the request, not in the endpoint URL. |
| string |
| Required. Operation performed. |
| string | Ex:
| Required. Specifies role to be deleted. |
POST 'https://<tenant>/api/v1/role?op=delete' \ --header 'Content-Type: application/json' \ --data-raw '{ "token": "f32a973eddd7bc1602fc0f48dc0a", "role_name": "Custom Netskope Role", "role_desc": "Role Description Now Updated using secure Method", "privilege": [ { "name": "administrators", "value": "view" }, { "name": "threat", "value": "edit" } ] }