/iam/permission/rename
POST
Renames a permission
Parameters in the POST body schema
Name | Type | Description | Example | Default |
---|---|---|---|---|
identityServiceName |
required, string | The name of the idendityService that should be considered for this call | myService | |
oldPermissionPath |
required, string | The old path of the permission | myOldPermission | |
newPermission |
required, object | The new path and excluded of the permission | {
"permissionPath": "myNewPermission",
"excluded": true
} |
|
permissionPath |
required, string | The path of the permission | ||
excluded |
optional, boolean | Whether the permission is excluded or included | true | false |
auditLog |
optional, object | Object that contains comment , timeSpent and ticketLink . |
{ "comment": "Operational requirement!", "timeSpent": 2 } |
|
comment |
optional, string | Field in auditLog to comment this action, e.g. the reason. |
||
timeSpent |
optional, integer | Field in auditLog to enter the time spent in minutes. |
||
ticketLink |
optional, string | Field in auditLog to enter a link to a corresponding ticket. |
Request