Get All Collections for Workspace
GET https://api.getpostman.com/workspaces/{{destination_workspace_id}}
This request will grab a list of all collections from the specified workspace (identified by the workspaceid variable), and store the list of collection UIDs as a temporary collection variable. It will also initialize a new collection variable named "nextcollection_uid", which is used by the next request (Delete next collection) to determine which collection needs to be deleted.
Required inputs:
- Qodexapikey: API key for the Qodex API
- workspace_id: UID of the workspace from which collections need to be deleted.
NOTE: This request is meant to be run within the context of the collection runner as part of the collection, since it sets things up for the next request in the collection.