{ "info": { "_postman_id": "adce0dfc-d2c9-4cd1-9259-4a7e174cf398", "name": "VMware vSphere Automation REST Clusters Session API", "description": "RESTful API for managing VMware vSphere virtualization platform resources including virtual machines, hosts, datastores, clusters, networks, and related infrastructure. The vSphere Automation API provides modern REST endpoints for vCenter Server operations using JSON payloads and session-based or OAuth authentication. This API supersedes the legacy SOAP-based vSphere Web Services API for most automation use cases.\n\nContact Support:\n Name: Broadcom Developer Support", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", "createdAt": "2026-07-28T03:28:08.000Z", "updatedAt": "2026-07-28T03:28:08.000Z", "lastUpdatedBy": "35240", "uid": "35240-adce0dfc-d2c9-4cd1-9259-4a7e174cf398" }, "item": [ { "name": "session", "item": [ { "name": "Vmware Create a New Authentication Session", "id": "30439e9e-9bcf-4d7f-ac7b-9038ab41eaac", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "auth": { "type": "basic", "basic": [ { "key": "username", "value": "{{basicAuthUsername}}", "type": "string" }, { "key": "password", "value": "{{basicAuthPassword}}", "type": "string" } ] }, "method": "POST", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/session", "host": [ "{{baseUrl}}" ], "path": [ "session" ] }, "description": "Creates a new session by authenticating with vCenter Server credentials. Returns a session identifier that must be included in the vmware-api-session-id header for subsequent requests." }, "response": [ { "id": "133bda2c-725e-4918-81b6-d23af134b5ff", "name": "Session created successfully", "originalRequest": { "method": "POST", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: basic", "key": "Authorization", "value": "Basic " } ], "url": { "raw": "{{baseUrl}}/session", "host": [ "{{baseUrl}}" ], "path": [ "session" ] } }, "status": "Created", "code": 201, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "", "createdAt": "2026-07-28T03:28:08.000Z", "updatedAt": "2026-07-28T03:28:08.000Z", "uid": "35240-133bda2c-725e-4918-81b6-d23af134b5ff" }, { "id": "dfa7e468-2666-4b2a-9a51-a82d2e26f66e", "name": "Authentication failed - invalid credentials", "originalRequest": { "method": "POST", "header": [ { "description": "Added as a part of security scheme: basic", "key": "Authorization", "value": "Basic " } ], "url": { "raw": "{{baseUrl}}/session", "host": [ "{{baseUrl}}" ], "path": [ "session" ] } }, "status": "Unauthorized", "code": 401, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T03:28:08.000Z", "updatedAt": "2026-07-28T03:28:08.000Z", "uid": "35240-dfa7e468-2666-4b2a-9a51-a82d2e26f66e" } ], "createdAt": "2026-07-28T03:28:08.000Z", "updatedAt": "2026-07-28T03:28:08.000Z", "uid": "35240-30439e9e-9bcf-4d7f-ac7b-9038ab41eaac" }, { "name": "Vmware Terminate the Current Session", "id": "f9988522-b1de-45c3-9552-7fbfb9afb1af", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "DELETE", "header": [], "url": { "raw": "{{baseUrl}}/session", "host": [ "{{baseUrl}}" ], "path": [ "session" ] }, "description": "Terminates the current authenticated session and invalidates the session token." }, "response": [ { "id": "687ae6d2-e6f0-4817-9a06-f317a6d1bf0a", "name": "Session terminated successfully", "originalRequest": { "method": "DELETE", "header": [ { "description": "Added as a part of security scheme: apikey", "key": "vmware-api-session-id", "value": "" } ], "url": { "raw": "{{baseUrl}}/session", "host": [ "{{baseUrl}}" ], "path": [ "session" ] } }, "status": "No Content", "code": 204, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T03:28:08.000Z", "updatedAt": "2026-07-28T03:28:08.000Z", "uid": "35240-687ae6d2-e6f0-4817-9a06-f317a6d1bf0a" }, { "id": "b72312d1-c588-42f0-8819-11711f1bc19d", "name": "Not authenticated", "originalRequest": { "method": "DELETE", "header": [ { "description": "Added as a part of security scheme: apikey", "key": "vmware-api-session-id", "value": "" } ], "url": { "raw": "{{baseUrl}}/session", "host": [ "{{baseUrl}}" ], "path": [ "session" ] } }, "status": "Unauthorized", "code": 401, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T03:28:08.000Z", "updatedAt": "2026-07-28T03:28:08.000Z", "uid": "35240-b72312d1-c588-42f0-8819-11711f1bc19d" } ], "createdAt": "2026-07-28T03:28:08.000Z", "updatedAt": "2026-07-28T03:28:08.000Z", "uid": "35240-f9988522-b1de-45c3-9552-7fbfb9afb1af" }, { "name": "Vmware Get Current Session Information", "id": "68712d80-a039-436b-b00b-a62a97022f23", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/session", "host": [ "{{baseUrl}}" ], "path": [ "session" ] }, "description": "Returns information about the currently authenticated session including the authenticated user." }, "response": [ { "id": "8668e3a5-3051-406a-b84d-caf5e07981fd", "name": "Session information returned", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: apikey", "key": "vmware-api-session-id", "value": "" } ], "url": { "raw": "{{baseUrl}}/session", "host": [ "{{baseUrl}}" ], "path": [ "session" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"user\": \"\",\n \"created_time\": \"\",\n \"last_accessed_time\": \"\"\n}", "createdAt": "2026-07-28T03:28:08.000Z", "updatedAt": "2026-07-28T03:28:08.000Z", "uid": "35240-8668e3a5-3051-406a-b84d-caf5e07981fd" }, { "id": "a63db28d-15bc-48e8-82bc-7b56655dcd74", "name": "Not authenticated", "originalRequest": { "method": "GET", "header": [ { "description": "Added as a part of security scheme: apikey", "key": "vmware-api-session-id", "value": "" } ], "url": { "raw": "{{baseUrl}}/session", "host": [ "{{baseUrl}}" ], "path": [ "session" ] } }, "status": "Unauthorized", "code": 401, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T03:28:08.000Z", "updatedAt": "2026-07-28T03:28:08.000Z", "uid": "35240-a63db28d-15bc-48e8-82bc-7b56655dcd74" } ], "createdAt": "2026-07-28T03:28:08.000Z", "updatedAt": "2026-07-28T03:28:08.000Z", "uid": "35240-68712d80-a039-436b-b00b-a62a97022f23" } ], "id": "6fcaad56-25ee-4c9b-b009-dfda52c369de", "createdAt": "2026-07-28T03:28:08.000Z", "updatedAt": "2026-07-28T03:28:08.000Z", "uid": "35240-6fcaad56-25ee-4c9b-b009-dfda52c369de" } ], "auth": { "type": "apikey", "apikey": [ { "key": "key", "value": "vmware-api-session-id", "type": "string" }, { "key": "value", "value": "{{apiKey}}", "type": "string" }, { "key": "in", "value": "header", "type": "string" } ] }, "variable": [ { "key": "vcenter", "value": "vcenter.example.com" }, { "key": "baseUrl", "value": "https://{{vcenter}}/api" } ] }