User Role Info
GET/user/role/:id
Returns user role information for a specified ID.
Request
Path Parameters
id stringrequired
User Role ID
Responses
- 200
- 400
- 403
successful operation
- application/json
- Schema
- Example (from schema)
Schema
accountGroupIds string[]
Accessible Account Group IDs
accountGroups object[]
Associated Account Groups
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
associatedUsers string[]
Associated application users which cannot exist in the system without the user role
codeRepositories object[]
Associated Code Repositories
codeRepositoryIds string[]
Accessible Code Repository IDs
description string
Description
id string
User Role ID
lastModifiedBy string
Last Modified By
lastModifiedTs int64
Last Modified Time
name stringrequired
Name
resourceListIds string[]
Accessible Resource List IDs
resourceLists object[]
Associated Resource Lists
restrictDismissalAccess boolean
roleType stringrequired
User Role Type (Default or Custom Permission Group Name).
{
"accountGroupIds": [
"string"
],
"accountGroups": [
{}
],
"additionalAttributes": {
"hasDefenderPermissions": true,
"onlyAllowCIAccess": true,
"onlyAllowComputeAccess": true
},
"associatedUsers": [
"string"
],
"codeRepositories": [
{}
],
"codeRepositoryIds": [
"string"
],
"description": "string",
"id": "string",
"lastModifiedBy": "string",
"lastModifiedTs": 0,
"name": "string",
"resourceListIds": [
"string"
],
"resourceLists": [
{}
],
"restrictDismissalAccess": true,
"roleType": "string"
}
invalid_id
unauthorized_access
Loading...