Chapter Contents:
Object introduced with API 3.11.0
Supported Methods
GET /SecurityRole
Get a list of SecurityRole objects. Filter to avoid huge amounts of data (see Filtering for search parameters).
GET /SecurityRole /{key}
Get a single SecurityRole object.
PUT /SecurityRole /{key}
Update an existing SecurityRole object.
POST /SecurityRole
Create a new SecurityRole object.
DELETE /SecurityRole /{key}
Delete a specific SecurityRole object.
Properties
Property | Type | Length | Mandatory | Description | Comments |
---|---|---|---|---|---|
roleName | String | 64 | Yes | ||
securityPermissions | Array of /SecurityPermission | ||||
dataControlRoleValues | Array of /DataControlRoleValue | ||||
Updated for API version 2.0 using the new required date format yyyy-dd-MMThh:mi:ss to conform ISO 8601, (prior version has date format: yyyy-dd-MM hh:mi:ss)
GET /SecurityRole/345678
{ "key": 345678, "self": "http://localhost:8080/ws/rest/SecurityControl/345678", "securityPermissions": [ { "key": 337003208, "self": "http://platform-dev.dataloy.com:80/ws/rest/SecurityPermission/337003208", "endpoint": { "key": 337001774, "self": "http://platform-dev.dataloy.com:80/ws/rest/Endpoint/337001774", "path": ".", "resourceName": "BvsHasBhl", "httpMethodType": "PUT", "isPrivate": null }, "permissionName": "BvsHasBhl.PUT", "permissionType": { "key": 335343886, "self": "http://platform-dev.dataloy.com:80/ws/rest/PermissionType/335343886", "permissionTypeName": "endpoint" }, "dataloyApp": null } ] "dataControlRoleValues": [], "isObjectActive": true, "remarks": [] }