POST /users/{uid}/blueprints/{bpid}/deployments
Summary
- Method:
POST
- Response Code:
201
- Response Formats:
- Since:
UForge 3.8.fp4
Deploys a blueprint.
- Requires Authentication:
true
- Entitlements Required:
deployments_access
uid
(required): the user name (login name) of theuser-object
bpid
(required): the id of theblueprint-object
A blueprintDeployment-object
object
curl "https://uforge.example.com/api/users/{uid}/blueprints/{bpid}/deployments" -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):
<ns0:blueprintDeployment xmlns:ns0="http://www.usharesoft.com/uforge">
<xsi:type></xsi:type>
<credAccountUri>users/guest/accounts/4</credAccountUri>
<region>eu-west-2</region>
</ns0:blueprintDeployment>
blueprintDeployment-object