Update role details

Prev Next
Patch
/api/v1/policy-admin/roles/{id}
Security
HTTP
Type bearer
Path parameters
id
stringRequired
Body parameters
Expand All
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