Child pages
  • Change VS Owner
Skip to end of metadata
Go to start of metadata

Use the following request to reassign a VS to another user:

POST /virtual_machines/:virtual_machine_id/change_owner.xml
POST /virtual_machines/:virtual_machine_id/change_owner.json

XML Request example

curl -i -X POST -H 'Accept: application/xml' -H 'Content-type: application/xml' -u user:userpass -d '<user_id>4</user_id>' --url http://onapp.test/virtual_machines/:virtual_machine_id/change_owner.xml

JSON Request example

curl -i -X POST -H 'Accept: application/json' -H 'Content-type: application/json' -u user:userpass -d '{"user_id":"1"}' --url http://onapp.test/virtual_machines/:virtual_machine_id/change_owner.json

Required parameter:

user_id* – input ID of a new VS owner

Instead of virtual server ID (:virtual_machine_id) you may use virtual server identifier (:virtual_machine_identifier).


#trackbackRdf ($trackbackUtils.getContentIdentifier($page) $page.title $trackbackUtils.getPingUrl($page))
  • No labels