title: I need send request looping with a array list
body: <p>When I finish one request I'm creating an array in the collectionVariables to store an Id that come from response. Then I need use this array to send request to delete all my content</p>
  <p>(storing the id)</p>
  <blockquote>
  <pre><code>const idArray = pm.collectionVariables.get(&quot;idArray2&quot;);
  response = JSON.parse(responseBody);
  // const array = [];
  const id = response.items[0].sys.id;
  // array.push(id);
  // entryId = pm.response.json().items[0].sys.id;
  idArray.push(id);
  // arrayValue = pm.collectionVariables.get(&quot;idArray&quot;);
  console.log(idArray);
  // pm.collectionVariables.set(&quot;arrayValue&quot;, array);
  // arrayValue.push(id);
  </code></pre>
  </blockquote>
  <p>To delete this contents I need to loop with forEach function. For it I need set the arrays info in the {{ID}} endpoint</p>
  <pre><code>var submitUnpublishedRequest = {
          url: pm.variables.replaceIn('https://api.contentful.com/spaces/{{spaceId}}/environments/{{branch}}/entries/{{ID}}/published'),
          method: 'DELETE',
          header: {
              'Authorization': &quot;Bearer &quot; + pm.environment.get(&quot;contentManagementToken&quot;),
              'aeg-event-type': pm.environment.get(&quot;event_type&quot;),
              'aeg-sas-key': pm.environment.get(&quot;sas_key&quot;),
              'Content-Type': &quot;application/json&quot;
          },
          body: {}
      } 
   pm.sendRequest(submitUnpublishedRequest)
  </code></pre>
  <p>My question is, how can I loop this pre-request to delete my content ?</p>