API Referenceadmin
Update role
Update a role. Requires IAM admin. Cannot modify system roles or set hierarchy > your own.
AuthorizationBearer <token>
In: header
Path Parameters
role_id*Role Id
Role ID
Format
uuidRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X patch "https://prisma.your-company.com/api/v1/admin/platform-roles/497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "Content-Type: application/json" \ -d '{ "display_name": "Senior QA Engineer", "hierarchy_value": 55 }'{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "string",
"display_name": "string",
"description": "string",
"scope": "organization",
"hierarchy_value": 0,
"is_system": true,
"organization_id": "7c60d51f-b44e-4682-87d6-449835ea4de6",
"parent_role_id": "7ea77ce3-4218-4d39-ad84-02444a2f4ee7",
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z"
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}
