mixcoatl/infrastructure/server.py
def deprovision_user(self, user_id):
        """Remove a user to a server

        :param user_id: The ID of the user
        :type reason: int
        :returns: Job -- Result of API call
        """
        p = '%s/%s' % (self.PATH, str(self.server_id))
        user_dict = {'userId': user_id}
        payload = {'deprovisionUser': [{'user': user_dict}]}
        return self.put(p, data=json.dumps(payload))
Remove a user to a server

        :param user_id: The ID of the user
        :type reason: int
        :returns: Job -- Result of API call
        
Remove a user to a server
Remove a user to a server
def deprovision_user(self, user_id):
        p = '%s/%s' % (self.PATH, str(self.server_id))
        user_dict = {'userId': user_id}
        payload = {'deprovisionUser': [{'user': user_dict}]}
        return self.put(p, data=json.dumps(payload))
def deprovision_user ( self , user_id ) : p = '%s/%s' % ( self . PATH , str ( self . server_id ) ) user_dict = { 'userId' : user_id } payload = { 'deprovisionUser' : [ { 'user' : user_dict } ] } return self . put ( p , data = json . dumps ( payload ) )
Remove a user to a server
Remove a user to a server
"""Remove a user to a server

        :param user_id: The ID of the user
        :type reason: int
        :returns: Job -- Result of API call
        """
- Result of API call
- Result of API call
self
user_id
The ID of the user
The ID of the user