Skip to main content

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

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

successful operation

Loading...