put https://api.shift.io/v3/projects//roles
Updates an existing role
This call requires a project id as a path parameter; the id should match the project that contains the role you want to edit. The body of the response should contain the role id of the role you want to edit and the properties of that role. The values you enter for each property will replace the original values. Here is an example request:
{
"id": "111111111111111111111111",
"displayName": "View Only",
"level": "USER",
"permissionGroups": [
{
"displayName": "ASSET",
"groupIdentifier": "ASSET",
"permissions": [
"READ"
]
}
]
}
A 204 is returned when a role is successfully updated.