Rename apiconfiguration -> endpointconfiguration