Add User Role
POST/user/role
Creates a new user role.
For the permissions associated with each role, see Prisma Cloud Administrator Permissions. If you are upgraded to the Darwin release, see Prisma Cloud Administrator Permissions.
Note that the request body parameter accountGroupIds is required but can be an empty array.
Request
- application/json
Body
required
User Role
Accessible Account Group IDs
additionalAttributes object
Additional attributes of the the user role
User has compute defender permissions
User can only use access keys to use Prisma Cloud. UI access will be unavailable.
User can only access the Prisma Cloud Compute Console
Accessible Code Repository IDs
Description
Name
Accessible Resource List IDs
User Role Type (Default or Custom Permission Group Name).
Responses
- 200
- 400
- 403
successful operation
invalid_user_role_name / invalid_user_role_type / invalid_account_group_ids / user_role_name_already_exists
unauthorized_access