Update the configuration specified in the payload

        Args:
            - did (str): Document ID
            - eid (str): Element ID
            - payload (json): the request body
        Returns:
            - configuration (str): the url-ready configuration string.

def update_configuration(self, did, wid, eid, payload):
        '''
        Update the configuration specified in the payload

        Args:
            - did (str): Document ID
            - eid (str): Element ID
            - payload (json): the request body
        Returns:
            - configuration (str): the url-ready configuration string.
        '''

        req_headers = {
            'Accept': 'application/vnd.onshape.v1+json',
            'Content-Type': 'application/json'
        }

        res = self._api.request('post', '/api/partstudios/d/' + did + '/w/' + wid + '/e/' + eid + '/configuration', body=payload, headers=req_headers)

        return res