Пример #1
0
def user_role_delete(username, role):
    """DELETE /users/:username/roles/:role"""
    return UserRoleView().delete(username, role)
Пример #2
0
def user_role_put(username, role):
    """PUT /users/:username/roles/:role"""
    return UserRoleView().put(username, role)