April 2018
Intermediate to advanced
280 pages
8h 37m
English
Updating an existing role is very similar. The update_role() function call accepts the role ID and the role parameters, which are used to update the existing role represented by the role ID:
def update_role(conn): role_id = "ce5156690f4c48bda5b5b9041325e493" role_desc = { "description":"This is a test role", "isenabled" : False, "name":"packtpub" } conn.identity.update_role(role_id, **role_desc)