Update User Role
PUT/user/role/:id
Updates information for an existing user role.
Request
Path Parameters
id stringrequired
User Role ID
- application/json
Body
required
User Role
accountGroupIds string[]
Accessible Account Group IDs
additionalAttributes object
Additional attributes of the the user role
hasDefenderPermissions boolean
User has compute defender permissions
onlyAllowCIAccess boolean
User can only use access keys to use Prisma Cloud. UI access will be unavailable.
onlyAllowComputeAccess boolean
User can only access the Prisma Cloud Compute Console
codeRepositoryIds string[]
Accessible Code Repository IDs
description string
Description
name stringrequired
Name
resourceListIds string[]
Accessible Resource List IDs
restrictDismissalAccess boolean
roleType stringrequired
User Role Type (Default or Custom Permission Group Name).
Responses
- 200
- 400
- 403
successful operation
invalid_id / invalid_user_role_name / invalid_user_role_type / invalid_account_group_ids / user_role_name_already_exists
unauthorized_access
Loading...