'Create a role.
Create a role using the "name" (string) parameter supplied in the POST
application/json object.
This method returns the new role object on success.'

@rest_utils.ajax(data_required=True)
def post(self, request):

    new_role = api.keystone.role_create(request, request.DATA['name'])
    return rest_utils.CreatedResponse(('/api/keystone/roles/%s' % new_role.id), new_role.to_dict())
