.. function:: POST /users/{uid}/migrations
Summary
- Method:
POST
- Response Code:
201
- Response Formats:
application/xml
application/json
- Since:
UForge 3.8.2
Creates a migration.
A migration
is an object representing all stages to migrate a live running instance (physical machine, VM, container).
- Requires Authentication:
true
- Entitlements Required:
migration_access
uid
(required): the user name (login name) of the :ref:`user-object`
A :ref:`migration-object` object
curl "https://uforge.example.com/api/users/{uid}/migrations" -X POST \
-u USER_LOGIN:PASSWORD -H "Accept: application/xml"-H "Content-type: application/xml" --data-binary "@representation.xml"
Example of representation.xml content (the request body):
.. seealso:: * :ref:`migration-object` * :ref:`migrationstage-object`