Use this REST request to retrieve a list of available workspaces in a cluster. This REST request is a GET type request.
http://serverDetails/espws/restservice/workspaces
authorization: Basic <auth-data>
http://localhost:9091/espws/restservice/workspaces
authorization: Basic c3R1ZGlvOnN5YmFzZQ==