Add resources to domain
Description
Add resources from other domains to a give domain.
HTTP method
POST
Request

http://{Admin API IP}:{port#}/api/v1/domains/{id}/resources

Example header format:
Authorization: Basic <authorization token returned from the login method>
Content-Type: application/json
Parameter | Description/Comments |
---|---|
id | (string) Domain's id. Can be retrieved via Get all domains. |

Parameter | Description/Comments |
---|---|
id | (string) Resource id. Can be retrieved via Get domain's resources. |
IncludeDescendants |
(bool) (Optional) Include sub-resources in the domain. Default is true. |

{
"Resources": [
{
"Id": "6deda6fb-8f56-4c12-ac29-00b3fb7756db",
"IncludeDescendants": true
}
]
}
Response

{
"Errors": []
}

201 Created