Get List of User VSs

To see the virtual servers owned by a particular user, use the following request:

GET /users/:user_id/virtual_machines.xml
GET /users/:user_id/virtual_machines.json

XML Request Example

curl -i -X GET -H 'Accept: application/xml' -H 'Content-type: application/xml' -u user:userpass --url http://onapp.test/users/12/virtual_machines.json 

JSON Request Example

curl -i -X GET -H 'Accept: application/json' -H 'Content-type: application/json' -u user:userpass --url http://onapp.test/users/12/virtual_machines.json 

An array of virtual servers will be returned.

For details and parameter description, refer to Get the list of VSs section.