Description: Patch updates a user’s group roles. This is a partial update, so only the roles specified in the request body will be updated. Currently only supports adding or removing roles.
OK
Bad Request
Unauthorized
Forbidden
Internal Server Error
[- {
- "op": "add",
- "path": "/roles",
- "value": {
- "groupId": "28a6d1a3-92c8-4eca-b8b3-d5d0e2d308d0",
- "roleId": 4
}
}, - {
- "op": "remove",
- "path": "/groups/30b69c7e-2186-47b1-8833-965842d2af3c/roles/4"
}
]
{- "userId": "4af860ae-2e53-4d8b-a48e-606b862effed",
- "groupRoles": [
- {
- "groupId": "28a6d1a3-92c8-4eca-b8b3-d5d0e2d308d0",
- "roleId": 4
}
]
}