Create a Role
post
/process/api/v1/data-access/roles
Creates a new role.
Request
There are no request parameters for this operation.
Supported Media Types
- application/json
Root Schema : Role
Type:
objectTitle:
RoleDefines Role
Show Source
-
createdOn: string
Title:
Created timeCreated time -
description: string
Title:
The role descriptionTho role description -
id: string
Title:
The role IDThe unique role ID -
links: array
links
-
name(required): string
Title:
The role nameThe unique role name -
scopeName: string
Title:
Scope NameThe role scope name -
scopeType: string
Title:
Scope TypeThe role scope type -
systemDefined: boolean
Title:
System Defined RoleDefault Value:falseIf boolean flag is true, then the Role cannot be deleted. By default it's false. -
updatedOn: string
Title:
Updated timeUpdated time
Nested Schema : Link
Type:
objectDefines Link
Show Source
-
code: integer
Minimum Value:
100Maximum Value:600 -
href(required): string
-
hreflang: string
-
length: integer
(int32)
-
mediaType: string
-
message: string
-
rel(required): string
-
title: string
-
type: string
Response
Supported Media Types
- application/json
201 Response
Created
Root Schema : Role
Type:
objectTitle:
RoleDefines Role
Show Source
-
createdOn: string
Title:
Created timeCreated time -
description: string
Title:
The role descriptionTho role description -
id: string
Title:
The role IDThe unique role ID -
links: array
links
-
name(required): string
Title:
The role nameThe unique role name -
scopeName: string
Title:
Scope NameThe role scope name -
scopeType: string
Title:
Scope TypeThe role scope type -
systemDefined: boolean
Title:
System Defined RoleDefault Value:falseIf boolean flag is true, then the Role cannot be deleted. By default it's false. -
updatedOn: string
Title:
Updated timeUpdated time
Nested Schema : Link
Type:
objectDefines Link
Show Source
-
code: integer
Minimum Value:
100Maximum Value:600 -
href(required): string
-
hreflang: string
-
length: integer
(int32)
-
mediaType: string
-
message: string
-
rel(required): string
-
title: string
-
type: string
400 Response
Bad request
401 Response
Unauthorized
409 Response
Conflict
429 Response
Too many requests
500 Response
Internal server error
503 Response
Too many exceptions or too slow requests