Add blueprints to domain
Description
Adds one or more blueprints from different domains to the desired domain.
URL
http://{Admin API IP}:{port#}/api/v1/domains/{id}/blueprints
Parameter | Description/Comments |
---|---|
ID | (string) Domain's ID. Can be retrieved via Get all domains. |
HTTP method
POST
Request
Headers
Example header format:
Authorization: Basic <authorization token returned from the login method>
Content-Type: application/json
Request body
Parameter | Description/Comments |
---|---|
Id | (string) Blueprint's id. |
ValidateResourceAvailability | (string) Set to true to check that the blueprint's resources are available in the new domain. |
Request example
{
"Blueprints": [
{
"Id": "ca60106f-761b-4463-976f-8cc846bc10ff"
},
{
"Id": "a68214a1-3c5d-4534-886d-a1d281e58f21"
}
],
"ValidateResourceAvailability": true
}
Response
Response example
{
"Errors": []
}
Response code
200 OK