Change role definition API