Complete the code to create a new workspace in Postman.
pm.workspaces.create({ name: [1] });You need to pass the workspace name as a string inside quotes.
Complete the code to list all collections in the current workspace.
pm.collections.list({ workspace: [1] });
The default workspace is referenced by the string 'default'.
Fix the error in the code to switch to a workspace by its ID.
pm.workspaces.switch({ id: [1] });The workspace ID must be a string, so it needs quotes.
Fill both blanks to create a new environment in a workspace.
pm.environments.create({ name: [1], workspace: [2] });The environment name is a string like 'Test Environment' and the workspace is 'default'.
Fill all three blanks to update a workspace's description and visibility.
pm.workspaces.update({ id: [1], description: [2], visibility: [3] });The workspace ID is a string '12345', description is a string, and visibility is 'private' or 'public'. Here 'private' is correct.
