Create role
- Print
- PDF
Create role
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Post
/api/v1/policy-admin/roles
Security
HTTP
Type bearer
Body parameters
object
id
string
name
string
Min length1
Max length64
Pattern\s*[a-zA-Z0-9-_\s]+\s*
description
string
Min length0
Max length255
permissions
Array of object (PermissionDto)
object
id
string
name
string
Pattern\s*[a-zA-Z0-9-_\s]+\s*
description
string
Min length0
Max length255
consumer
string
Min length0
Max length30
Pattern\s*[a-zA-Z]+\s*
actions
Array of string Required
string
resources
Array of string Required
string
isInline
boolean
isReadOnly
boolean
isReadOnly
boolean
Responses
200
successful operation
object
Was this article helpful?